aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-12-18 20:22:49 +0000
committerJohannes Schickel2008-12-18 20:22:49 +0000
commitdfc08c823d4af39ae61600a7230414c02156282b (patch)
treefaaa4e31f3def97545b8d94bf811d3ddaddddba6 /engines/kyra
parent8b6237756b9d80d5fd679eafea922bf96a5b4f6a (diff)
downloadscummvm-rg350-dfc08c823d4af39ae61600a7230414c02156282b.tar.gz
scummvm-rg350-dfc08c823d4af39ae61600a7230414c02156282b.tar.bz2
scummvm-rg350-dfc08c823d4af39ae61600a7230414c02156282b.zip
Clean up cursor stack on engine quit properly.
svn-id: r35427
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/screen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index 4e9af1a845..44e66691a2 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -63,6 +63,8 @@ Screen::~Screen() {
}
delete[] _dirtyRects;
+
+ CursorMan.popAllCursors();
}
bool Screen::init() {