diff options
-rw-r--r-- | engines/fullpipe/motion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index b49b297451..f6eb9d6753 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -635,6 +635,8 @@ MessageQueue *MovGraph2::doWalkTo(StaticANIObject *obj, int xpos, int ypos, int if (idxwalk == -1) { obj->setPicAniInfo(&picAniInfo); + delete mq; + return 0; } |