aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);