diff options
author | Colin Snover | 2017-11-16 10:31:59 -0600 |
---|---|---|
committer | Eugene Sandulenko | 2017-11-18 22:35:12 +0100 |
commit | 715d4bd76ab749b88f888ea8196ce252de6140ad (patch) | |
tree | e781ceb72a4061dbd2cc4c96cd921c1aaf60737e /engines/fullpipe/anihandler.h | |
parent | 6a13592633a6a4cf935409edd1c5504ef7dfa75e (diff) | |
download | scummvm-rg350-715d4bd76ab749b88f888ea8196ce252de6140ad.tar.gz scummvm-rg350-715d4bd76ab749b88f888ea8196ce252de6140ad.tar.bz2 scummvm-rg350-715d4bd76ab749b88f888ea8196ce252de6140ad.zip |
FULLPIPE: Fix memory leaks, ownership issues with various point lists
Diffstat (limited to 'engines/fullpipe/anihandler.h')
-rw-r--r-- | engines/fullpipe/anihandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/anihandler.h b/engines/fullpipe/anihandler.h index 5bc771a0e8..f73d755aa9 100644 --- a/engines/fullpipe/anihandler.h +++ b/engines/fullpipe/anihandler.h @@ -84,7 +84,7 @@ public: void clearVisitsList(int idx); int seekWay(int idx, int st1idx, int st2idx, bool flip, bool flop); Common::Point getNumCycles(Movement *mov, int x, int y, int *mult, int *len, int flag); - ExCommand2 *createCommand(Movement *mov, int objId, int x1, int y1, Common::Point *x2, Common::Point *y2, int len); + ExCommand2 *createCommand(Movement *mov, int objId, int x1, int y1, Common::Point &x2, Common::Point &y2, int len); MessageQueue *makeQueue(StaticANIObject *ani, int staticsIndex, int staticsId, int *resStatId, Common::Point **pointArr); int getFramesCount(int idx, int subIdx, int subOffset, int flag); int getNumMovements(int objectId, int idx1, int idx2); |