diff options
author | Paul Gilbert | 2017-01-28 23:21:12 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-28 23:21:12 -0500 |
commit | ce264f89daa5694a7bac5a09588b9697591597c6 (patch) | |
tree | 91f271868656454054a152bc9be88dc0b5029377 /engines/titanic/game/transport | |
parent | 1a7ffa8afc668ec87ccad7bbf645d407f78d9f0b (diff) | |
download | scummvm-rg350-ce264f89daa5694a7bac5a09588b9697591597c6.tar.gz scummvm-rg350-ce264f89daa5694a7bac5a09588b9697591597c6.tar.bz2 scummvm-rg350-ce264f89daa5694a7bac5a09588b9697591597c6.zip |
TITANIC: Fix Pellerator movement from Bar to Music Room
Diffstat (limited to 'engines/titanic/game/transport')
-rw-r--r-- | engines/titanic/game/transport/pellerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/transport/pellerator.cpp b/engines/titanic/game/transport/pellerator.cpp index 23c61ad0ba..095202d176 100644 --- a/engines/titanic/game/transport/pellerator.cpp +++ b/engines/titanic/game/transport/pellerator.cpp @@ -177,7 +177,7 @@ bool CPellerator::StatusChangeMsg(CStatusChangeMsg *msg) { "Pellerator.Node 1.N" : "Pellerator.Node 1.S"); if (name == "PelleratorObject") { - for (; _destination > newDest; --_destination) { + for (--_destination; _destination > newDest; --_destination) { switch (_destination) { case 0: case 1: @@ -229,7 +229,7 @@ bool CPellerator::StatusChangeMsg(CStatusChangeMsg *msg) { } } } else { - for (; _destination > newDest; --_destination) { + for (--_destination; _destination > newDest; --_destination) { switch (_destination) { case 0: case 1: |