diff options
author | Filippos Karapetis | 2009-11-03 14:20:57 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-11-03 14:20:57 +0000 |
commit | 74dba071b87dd73906d6ba8ad403235f97defb9b (patch) | |
tree | ebffe8604c8b13166233a3eb65562a3a4b66fa4c /engines | |
parent | a5058b2022d1fe988ff2bd86a675d865a8ae53be (diff) | |
download | scummvm-rg350-74dba071b87dd73906d6ba8ad403235f97defb9b.tar.gz scummvm-rg350-74dba071b87dd73906d6ba8ad403235f97defb9b.tar.bz2 scummvm-rg350-74dba071b87dd73906d6ba8ad403235f97defb9b.zip |
Fixed the deletion of cursorBitmap
svn-id: r45630
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/gui/gui_cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_cursor.cpp b/engines/sci/gui/gui_cursor.cpp index 37ba42c895..b6b25628b6 100644 --- a/engines/sci/gui/gui_cursor.cpp +++ b/engines/sci/gui/gui_cursor.cpp @@ -165,7 +165,7 @@ void SciGuiCursor::setView(GuiResourceId viewNum, int loopNum, int celNum, Commo CursorMan.replaceCursor(cursorBitmap, width, height, cursorHotspot->x, cursorHotspot->y, clearKey); if (_upscaledHires) - delete cursorBitmap; + delete[] cursorBitmap; show(); |