[Scummvm-cvs-logs] SF.net SVN: scummvm:[35945] scummvm/trunk/engines/parallaction/ parallaction_br.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Tue Jan 20 12:07:30 CET 2009
Revision: 35945
http://scummvm.svn.sourceforge.net/scummvm/?rev=35945&view=rev
Author: peres001
Date: 2009-01-20 11:07:27 +0000 (Tue, 20 Jan 2009)
Log Message:
-----------
Character is now placed at the right spot when a new location is entered. Size may be still not right, though.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/parallaction_br.cpp
Modified: scummvm/trunk/engines/parallaction/parallaction_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction_br.cpp 2009-01-20 10:39:16 UTC (rev 35944)
+++ scummvm/trunk/engines/parallaction/parallaction_br.cpp 2009-01-20 11:07:27 UTC (rev 35945)
@@ -255,6 +255,14 @@
freeLocation(false);
// load new location
parseLocation(location);
+
+ if (_location._startPosition.x != -1000) {
+ _char.setFoot(_location._startPosition);
+ _char._ani->setF(_location._startFrame);
+ _location._startPosition.y = -1000;
+ _location._startPosition.x = -1000;
+ }
+
// kFlagsRemove is cleared because the character is visible by default.
// Commands can hide the character, anyway.
_char._ani->_flags &= ~kFlagsRemove;
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