aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-13 17:22:52 +0000
committerFilippos Karapetis2009-10-13 17:22:52 +0000
commitf9c6e77abe560879de1fb44dd3e10c7f4241fe11 (patch)
tree53d2e56d850149d6bf58e4b6e8a5af95a0579d11
parent535873ba4698ae1cf883eaa2b95d5ac4788f4f26 (diff)
downloadscummvm-rg350-f9c6e77abe560879de1fb44dd3e10c7f4241fe11.tar.gz
scummvm-rg350-f9c6e77abe560879de1fb44dd3e10c7f4241fe11.tar.bz2
scummvm-rg350-f9c6e77abe560879de1fb44dd3e10c7f4241fe11.zip
Removed some leftover code, fixes KQ5CD
svn-id: r45031
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 970ac2786b..f1b3b3e116 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -517,8 +517,6 @@ static reg_t kSetCursorSci11(EngineState *s, int argc, reg_t *argv) {
// Fallthrough
case 3:
s->_gui->setCursorView(argv[0].toUint16(), argv[1].toUint16(), argv[2].toUint16(), hotspot);
- if (hotspot)
- delete hotspot;
break;
default :
warning("kSetCursor: Unhandled case: %d arguments given", argc);