Fix for bug #2868581 "KYRA1: Invisible Brandon".

svn-id: r44450
This commit is contained in:
Johannes Schickel 2009-09-28 21:58:48 +00:00
parent 88a9099949
commit 95cd669efb

View File

@ -208,6 +208,12 @@ Common::Error KyraEngine_LoK::loadGameState(int slot) {
_brandonPosX = _currentCharacter->x2 = _currentCharacter->x1;
_brandonPosY = _currentCharacter->y2 = _currentCharacter->y1;
// We need to reset the "_noDrawShapesFlag" flag of Animator_LoK
// over here. Else in certain cases restoring an savegame might
// result in no shapes being drawn at all. See bug report
// #2868581 "KYRA1: Invisible Brandon" for an example of this.
_animator->_noDrawShapesFlag = 0;
enterNewScene(_currentCharacter->sceneId, _currentCharacter->facing, 0, 0, 1);
_animator->animRefreshNPC(0);