Skip to content

Commit

Permalink
TSAGE: R2R - Fix CID 1004057
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Aug 21, 2013
1 parent 5512458 commit d0ce04c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engines/tsage/ringworld2/ringworld2_scenes1.cpp
Expand Up @@ -5977,7 +5977,8 @@ void Scene1337::subCF31D() {
if ((_arrunkObj1337[1]._arr2[i]._field34 == 0) && (!subC2687(_arrunkObj1337[1]._arr3[0]._field34))) {
subC340B(&_arrunkObj1337[1]._arr1[tmpVal], &_arrunkObj1337[1]._arr2[i]);
found = true;
}
break;
}
}
}

Expand All @@ -5987,8 +5988,10 @@ void Scene1337::subCF31D() {
tmpVal = subC274D(1);
int tmpVal2 = subC331B(1);

if ((tmpVal != -1) && ( tmpVal2 != -1))
if ((tmpVal != -1) && ( tmpVal2 != -1)) {
subC358E(&_arrunkObj1337[1]._arr1[tmpVal], tmpVal2);
found = true;
}

if (found)
return;
Expand Down

0 comments on commit d0ce04c

Please sign in to comment.