FULLPIPE: Fix MessageQueue instantination in MctlGraph::makeQueue

This commit is contained in:
Retro-Junk 2016-09-24 15:07:58 +03:00 committed by Eugene Sandulenko
parent fb66de5bb9
commit edf9828a11

View File

@ -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);