From edf9828a1106d55cfc694d36c6d21f1e13c918c9 Mon Sep 17 00:00:00 2001 From: Retro-Junk Date: Sat, 24 Sep 2016 15:07:58 +0300 Subject: FULLPIPE: Fix MessageQueue instantination in MctlGraph::makeQueue --- engines/fullpipe/motion.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index ba627a96a1..4d9218c9f0 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -2225,9 +2225,7 @@ MessageQueue *MctlGraph::makeQueue(StaticANIObject *obj, int xpos, int ypos, int } if (obj->_ox == xpos && obj->_oy == ypos) { - g_fp->_globalMessageQueueList->compact(); - - MessageQueue *mq = new MessageQueue(); + MessageQueue *mq = new MessageQueue(g_fp->_globalMessageQueueList->compact()); if (staticsId && obj->_statics->_staticsId != staticsId) { int idxwalk = getDirByStatics(idx, staticsId); -- cgit v1.2.3