diff options
author | Paul Gilbert | 2017-01-21 16:40:52 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-21 16:40:52 -0500 |
commit | 04a2436e0b6cc1ac4796c2473ab0e0e3ddc355a8 (patch) | |
tree | 78b930478911b2aa83001d93696c1ef665d93713 /engines/titanic/game | |
parent | b8cce79a5a6e342ab081a6c61e03bf88bc9de30c (diff) | |
download | scummvm-rg350-04a2436e0b6cc1ac4796c2473ab0e0e3ddc355a8.tar.gz scummvm-rg350-04a2436e0b6cc1ac4796c2473ab0e0e3ddc355a8.tar.bz2 scummvm-rg350-04a2436e0b6cc1ac4796c2473ab0e0e3ddc355a8.zip |
TITANIC: Use empty move transitions for cage after Parrot leaves
Diffstat (limited to 'engines/titanic/game')
-rw-r--r-- | engines/titanic/game/parrot/parrot_lobby_link_updater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp b/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp index 47311c31f5..c32a06db39 100644 --- a/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp +++ b/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp @@ -80,9 +80,9 @@ bool CParrotLobbyLinkUpdater::ActMsg(CActMsg *msg) { if (isEquals("ParrotLobbyUpdater_TOW")) { entriesP = &_entries[4]; } else { - if (node->_nodeNumber > 3) + if (node->_nodeNumber < 1 || node->_nodeNumber > 4) return true; - entriesP = &_entries[node->_nodeNumber]; + entriesP = &_entries[node->_nodeNumber - 1]; } int count = entriesP->size(); |