diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-02-14 21:54:55 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-14 21:54:55 -0600 |
| commit | 005ecca9d79e6a5973df487b6b4e094003e361a6 (patch) | |
| tree | 9fac4d700c5b83c056ee452105d51bcb5229cf1f /src/aolayer.cpp | |
| parent | 5fd3ed0fea0b62410e69ded2d96886e3635e8b17 (diff) | |
| parent | 9359ae290953d3dbbdc5dcec79909d1481f2617f (diff) | |
Merge pull request #469 from AttorneyOnline/fix/bg-update
Fix testimony indicator not reappearing, fix objections prematurely adjusting chatbox positioning, and fix background not resizing properly when switching themes
Diffstat (limited to 'src/aolayer.cpp')
| -rw-r--r-- | src/aolayer.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/aolayer.cpp b/src/aolayer.cpp index 2fac58be..e7664950 100644 --- a/src/aolayer.cpp +++ b/src/aolayer.cpp @@ -493,6 +493,16 @@ void AOLayer::freeze() preanim_timer->stop(); } +void AOLayer::kill() +{ + // used for when we want to ensure a file is loaded anew + this->stop(); + this->clear(); + movie_frames.clear(); + movie_delays.clear(); + last_path = ""; +} + void CharLayer::movie_ticker() { AOLayer::movie_ticker(); |
