Skip to content

Commit

Permalink
TITANIC: Fix loading of remote buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Nov 1, 2016
1 parent bce75da commit 0c3dc18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/titanic/pet_control/pet_remote.cpp
Expand Up @@ -314,8 +314,8 @@ bool CPetRemote::getRemoteData(int roomIndex, Common::Array<uint> &indexes) {
const byte *p = &REMOTE_DATA[0];
for (int idx = 0; idx < TOTAL_ROOMS; ++idx) {
if (*p == roomIndex) {
for (int ctr = 0; ctr < *p; ++ctr)
indexes.push_back(p[ctr + 1]);
for (int ctr = 0; ctr < p[1]; ++ctr)
indexes.push_back(p[ctr + 2]);
return true;
}

Expand Down

0 comments on commit 0c3dc18

Please sign in to comment.