[Scummvm-git-logs] scummvm master -> 04a2436e0b6cc1ac4796c2473ab0e0e3ddc355a8
dreammaster
dreammaster at scummvm.org
Sat Jan 21 22:40:58 CET 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
04a2436e0b TITANIC: Use empty move transitions for cage after Parrot leaves
Commit: 04a2436e0b6cc1ac4796c2473ab0e0e3ddc355a8
https://github.com/scummvm/scummvm/commit/04a2436e0b6cc1ac4796c2473ab0e0e3ddc355a8
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-01-21T16:40:52-05:00
Commit Message:
TITANIC: Use empty move transitions for cage after Parrot leaves
Changed paths:
engines/titanic/game/parrot/parrot_lobby_link_updater.cpp
diff --git a/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp b/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp
index 47311c3..c32a06d 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();
More information about the Scummvm-git-logs
mailing list