aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorTorbjörn Andersson2014-10-03 08:18:03 +0200
committerTorbjörn Andersson2014-10-03 08:18:03 +0200
commitc728086a0275f82d8ef4e026ad55b4777a9e5abd (patch)
tree0a1ae8b661ace3949413fe6d24b7449392957b61 /engines/tsage
parentc4f49f1a547d7b44fbe89963110a75cf40801ce7 (diff)
downloadscummvm-rg350-c728086a0275f82d8ef4e026ad55b4777a9e5abd.tar.gz
scummvm-rg350-c728086a0275f82d8ef4e026ad55b4777a9e5abd.tar.bz2
scummvm-rg350-c728086a0275f82d8ef4e026ad55b4777a9e5abd.zip
TSAGE: Silece GCC warnings
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index 4582d7299b..1d3b6d0b03 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -6041,7 +6041,7 @@ void Scene1337::handlePlayer1() {
for (int i = 0; i <= 3; i++) {
int tmpVal = isDelayCard(_gameBoardSide[1]._handCard[i]._cardId);
if (tmpVal != -1) {
- int victimId = -1;
+ victimId = -1;
int rndVal = R2_GLOBALS._randomSource.getRandomNumber(3);
for (int j = 0; j <= 3; j++) {
@@ -6064,7 +6064,7 @@ void Scene1337::handlePlayer1() {
for (int j = 0; j <= 3; j++) {
if (getStationCardId(_gameBoardSide[1]._handCard[j]._cardId) != -1) {
- int victimId = -1;
+ victimId = -1;
int rndVal = R2_GLOBALS._randomSource.getRandomNumber(3);
for (int l = 0; l <= 3; l++) {
if (rndVal != 1) {