diff options
author | Eugene Sandulenko | 2014-06-06 15:13:56 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-06-06 15:13:56 +0300 |
commit | 631d4cdc0adabdc4a1cfb90f3a1b18eca841927c (patch) | |
tree | 759ea79b15f910ac4316365a4ab5c776fe9c0ee1 | |
parent | e4403eea5633d406cd182caeee262b9010b34c06 (diff) | |
download | scummvm-rg350-631d4cdc0adabdc4a1cfb90f3a1b18eca841927c.tar.gz scummvm-rg350-631d4cdc0adabdc4a1cfb90f3a1b18eca841927c.tar.bz2 scummvm-rg350-631d4cdc0adabdc4a1cfb90f3a1b18eca841927c.zip |
FULLPIPE: Remove extra null check. CID 1220155
-rw-r--r-- | engines/fullpipe/motion.cpp | 3 |
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); |