diff options
| author | Max Horn | 2003-09-12 00:07:42 +0000 |
|---|---|---|
| committer | Max Horn | 2003-09-12 00:07:42 +0000 |
| commit | dff4f8f445c636c0b331ad18ab53707fd222d3a2 (patch) | |
| tree | b0571bfe782fb7848cb9ec8a846e6e760bf53aef /scumm | |
| parent | 75d4f45a8dc435c44d9c3a218ddc2511f93f4b61 (diff) | |
| download | scummvm-rg350-dff4f8f445c636c0b331ad18ab53707fd222d3a2.tar.gz scummvm-rg350-dff4f8f445c636c0b331ad18ab53707fd222d3a2.tar.bz2 scummvm-rg350-dff4f8f445c636c0b331ad18ab53707fd222d3a2.zip | |
my TODO was correct ;-) fixes regression in Zak
svn-id: r10188
Diffstat (limited to 'scumm')
| -rw-r--r-- | scumm/script_v2.cpp | 2 | ||||
| -rw-r--r-- | scumm/script_v5.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 868c87cddc..a6eb2fd26e 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1289,7 +1289,7 @@ void Scumm_v2::o2_loadRoomWithEgo() { getObjectXYPos(obj, x2, y2, dir); a->putActor(x2, y2, _currentRoom); - a->setDirection(dir); // TODO: Original seems to "flip" dir here, need to investigate? + a->setDirection(dir + 180); camera._dest.x = camera._cur.x = a->x; setCameraAt(a->x, a->y); diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index 916cb668aa..dce63f09a3 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1483,7 +1483,7 @@ void Scumm_v5::o5_loadRoomWithEgo() { getObjectXYPos(obj, x2, y2, dir); a->putActor(x2, y2, _currentRoom); if (a->getFacing() == oldDir) - a->setDirection(dir); // TODO: Original seems to "flip" dir here, need to investigate? + a->setDirection(dir + 180); } a->moving = 0; } |
