[Scummvm-cvs-logs] SF.net SVN: scummvm:[40615] scummvm/trunk/engines/cruise/function.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat May 16 02:33:49 CEST 2009
Revision: 40615
http://scummvm.svn.sourceforge.net/scummvm/?rev=40615&view=rev
Author: dreammaster
Date: 2009-05-16 00:33:49 +0000 (Sat, 16 May 2009)
Log Message:
-----------
Fixed incorrect pathfinding data entry being deleted when a temporary actor animation is removed
Modified Paths:
--------------
scummvm/trunk/engines/cruise/function.cpp
Modified: scummvm/trunk/engines/cruise/function.cpp
===================================================================
--- scummvm/trunk/engines/cruise/function.cpp 2009-05-15 23:57:08 UTC (rev 40614)
+++ scummvm/trunk/engines/cruise/function.cpp 2009-05-16 00:33:49 UTC (rev 40615)
@@ -1177,8 +1177,8 @@
dir = pl->startDirection;
- if (pl->idx >= 0)
- freePerso(pl->idx);
+ if (pl->pathId >= 0)
+ freePerso(pl->pathId);
free(pl);
pl = pl4;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list