aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2014-06-06 15:13:56 +0300
committerEugene Sandulenko2014-06-06 15:13:56 +0300
commit631d4cdc0adabdc4a1cfb90f3a1b18eca841927c (patch)
tree759ea79b15f910ac4316365a4ab5c776fe9c0ee1 /engines/fullpipe
parente4403eea5633d406cd182caeee262b9010b34c06 (diff)
downloadscummvm-rg350-631d4cdc0adabdc4a1cfb90f3a1b18eca841927c.tar.gz
scummvm-rg350-631d4cdc0adabdc4a1cfb90f3a1b18eca841927c.tar.bz2
scummvm-rg350-631d4cdc0adabdc4a1cfb90f3a1b18eca841927c.zip
FULLPIPE: Remove extra null check. CID 1220155
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/motion.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index caac6d9e5a..56ac02c8ef 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -554,8 +554,7 @@ MessageQueue *MctlLadder::doWalkTo(StaticANIObject *ani, int xpos, int ypos, int
mq->transferExCommands(newmq);
- if (newmq)
- delete newmq;
+ delete newmq;
ani->setPicAniInfo(&picinfo);