aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v5.cpp4
-rw-r--r--scumm/scummvm.cpp4
2 files changed, 2 insertions, 6 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 0769a2ec9f..3822b01d41 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1482,9 +1482,7 @@ void ScummEngine_v5::o5_loadRoomWithEgo() {
startScene(a->room, a, obj);
VAR(VAR_WALKTO_OBJ) = 0;
- if (_version <= 3) {
- // FIXME: Maybe this should also cover V4 games. See also startScene().
- // More investigation (ASM) needed.
+ if (_version <= 4) {
if (!_egoPositioned) {
getObjectXYPos(obj, x2, y2, dir);
a->putActor(x2, y2, _currentRoom);
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 55a0b604fc..c9aa44c2ef 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1975,9 +1975,7 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) {
runEntryScript();
if (_version <= 2)
runScript(5, 0, 0, 0);
- else if (_version >= 4 && _version <= 6) {
- // FIXME: The check above maybe should only trigger for V5&V6 games (i.e. not
- // for V4). More investigation (ASM) needed. See also o5_loadRoomWithEgo().
+ else if (_version >= 5 && _version <= 6) {
if (a && !_egoPositioned) {
int x, y;
getObjectXYPos(objectNr, x, y);