[Scummvm-cvs-logs] SF.net SVN: scummvm:[46058] scummvm/trunk/engines/draci/game.cpp
spalek at users.sourceforge.net
spalek at users.sourceforge.net
Sun Nov 22 06:35:37 CET 2009
Revision: 46058
http://scummvm.svn.sourceforge.net/scummvm/?rev=46058&view=rev
Author: spalek
Date: 2009-11-22 05:35:36 +0000 (Sun, 22 Nov 2009)
Log Message:
-----------
Opening the inventory stops hero walking
(otherwise the relative animation would repeat itself unhandled until the
hero disappears from the screen.)
Modified Paths:
--------------
scummvm/trunk/engines/draci/game.cpp
Modified: scummvm/trunk/engines/draci/game.cpp
===================================================================
--- scummvm/trunk/engines/draci/game.cpp 2009-11-22 05:10:31 UTC (rev 46057)
+++ scummvm/trunk/engines/draci/game.cpp 2009-11-22 05:35:36 UTC (rev 46058)
@@ -773,6 +773,9 @@
void Game::inventoryInit() {
// Pause all "background" animations
_vm->_anims->pauseAnimations();
+ if (_walkingState.isActive()) {
+ walkHero(_hero.x, _hero.y, kDirectionLast);
+ }
// Draw the inventory and the current items
inventoryDraw();
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