[Scummvm-cvs-logs] SF.net SVN: scummvm:[39019] scummvm/trunk/engines/cruise/function.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sun Mar 1 09:28:11 CET 2009
Revision: 39019
http://scummvm.svn.sourceforge.net/scummvm/?rev=39019&view=rev
Author: dreammaster
Date: 2009-03-01 08:28:10 +0000 (Sun, 01 Mar 2009)
Log Message:
-----------
Added an explicit clearing of all animation fields for new animations - this fixes a problem where the player could disappear if he had to rotate to face a selected object
Modified Paths:
--------------
scummvm/trunk/engines/cruise/function.cpp
Modified: scummvm/trunk/engines/cruise/function.cpp
===================================================================
--- scummvm/trunk/engines/cruise/function.cpp 2009-03-01 08:08:24 UTC (rev 39018)
+++ scummvm/trunk/engines/cruise/function.cpp 2009-03-01 08:28:10 UTC (rev 39019)
@@ -1012,6 +1012,7 @@
if (!pNewElement)
return NULL;
+ memset(pNewElement, 0, sizeof(actorStruct));
pNewElement->next = pPrevious->next;
pPrevious->next = pNewElement;
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