[Scummvm-cvs-logs] SF.net SVN: scummvm: [26888] scummvm/trunk/engines/lure/hotspots.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sun May 20 15:07:45 CEST 2007
Revision: 26888
http://scummvm.svn.sourceforge.net/scummvm/?rev=26888&view=rev
Author: dreammaster
Date: 2007-05-20 06:07:44 -0700 (Sun, 20 May 2007)
Log Message:
-----------
Added savegame code so characters correctly leave rooms after restoring a game
Modified Paths:
--------------
scummvm/trunk/engines/lure/hotspots.cpp
Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp 2007-05-20 12:39:15 UTC (rev 26887)
+++ scummvm/trunk/engines/lure/hotspots.cpp 2007-05-20 13:07:44 UTC (rev 26888)
@@ -2044,6 +2044,7 @@
stream->writeSint16LE(_startY);
stream->writeSint16LE(_destX);
stream->writeSint16LE(_destY);
+ stream->writeUint16LE(_destHotspotId);
stream->writeUint16LE(_frameWidth);
stream->writeUint16LE(_height);
stream->writeUint16LE(_width);
@@ -2079,6 +2080,7 @@
_startY = stream->readSint16LE();
_destX = stream->readSint16LE();
_destY = stream->readSint16LE();
+ _destHotspotId = stream->readUint16LE();
_frameWidth = stream->readUint16LE();
_height = stream->readUint16LE();
_width = stream->readUint16LE();
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