[Scummvm-cvs-logs] SF.net SVN: scummvm: [28919] scummvm/trunk/engines/lure/hotspots.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sun Sep 16 06:31:15 CEST 2007


Revision: 28919
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28919&view=rev
Author:   dreammaster
Date:     2007-09-15 21:31:15 -0700 (Sat, 15 Sep 2007)

Log Message:
-----------
Bugfix to prevent actions being paused sometimes

Modified Paths:
--------------
    scummvm/trunk/engines/lure/hotspots.cpp

Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp	2007-09-16 04:22:52 UTC (rev 28918)
+++ scummvm/trunk/engines/lure/hotspots.cpp	2007-09-16 04:31:15 UTC (rev 28919)
@@ -70,6 +70,7 @@
 	_hotspotScriptOffset = res->hotspotScriptOffset;
 	_tickCtr = res->tickTimeout;
 	_colourOffset = res->colourOffset;
+	_tempDest.counter = 0;
 
 	_override = resources.getHotspotOverride(res->hotspotId);
 	setAnimation(_data->animRecordId);
@@ -197,6 +198,7 @@
 	_tickHandler = NULL;
 	_frameWidth = _width;
 	_frameStartsUsed = false;
+	_tempDest.counter = 0;
 }
 
 Hotspot::~Hotspot() {


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