diff options
author | Strangerke | 2014-10-13 08:12:21 +0200 |
---|---|---|
committer | Strangerke | 2014-10-13 08:12:21 +0200 |
commit | 78accfa64783332cecb80d62753266a25abc6021 (patch) | |
tree | de2cc6329b4e415674c9cae7664f69aefec3dbbb /engines/tsage | |
parent | 254c0a3b5ca4dcd31583315a0a24773ac7d1f370 (diff) | |
download | scummvm-rg350-78accfa64783332cecb80d62753266a25abc6021.tar.gz scummvm-rg350-78accfa64783332cecb80d62753266a25abc6021.tar.bz2 scummvm-rg350-78accfa64783332cecb80d62753266a25abc6021.zip |
TSAGE: R2R - Fix bug in getRandomCardFromHand()
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index dc51c7086e..cf611090a0 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -5080,7 +5080,7 @@ int Scene1337::getRandomCardFromHand(int playerId) { int randIndx; for (;;) { randIndx = R2_GLOBALS._randomSource.getRandomNumber(3); - if (_gameBoardSide[playerId]._handCard[randIndx]._cardId == 0) + if (_gameBoardSide[playerId]._handCard[randIndx]._cardId != 0) break; } |