Skip to content

Commit

Permalink
PETKA: fixed saving scene width in map interface
Browse files Browse the repository at this point in the history
  • Loading branch information
voltya committed May 29, 2020
1 parent 317a4b1 commit beb688c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/petka/interfaces/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ void InterfaceMap::start(int id) {

initCursor(4901, 1, 0);

_savedXOffset = 0; // g_vm->getQSystem()->xOffset;
_savedSceneWidth = 640; // g_vm->getQSystem()->savedSceneWidth
_savedXOffset = sys->_xOffset;
_savedSceneWidth = sys->_sceneWidth;

g_vm->getQSystem()->addMessageForAllObjects(kInitBG, 0, 0, 0, 0, bg);

Expand Down

0 comments on commit beb688c

Please sign in to comment.