aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorStrangerke2013-12-12 08:08:50 +0100
committerStrangerke2013-12-12 08:09:37 +0100
commitbf42ad705499b37bc849ffaaff7ecbaa0654b3d9 (patch)
tree5d6a74115d2e54fd13e197e7d4162f1845414e45 /engines/tsage
parent131b99844b9f6ef8753c9be2a0a1332933dd7f6b (diff)
downloadscummvm-rg350-bf42ad705499b37bc849ffaaff7ecbaa0654b3d9.tar.gz
scummvm-rg350-bf42ad705499b37bc849ffaaff7ecbaa0654b3d9.tar.bz2
scummvm-rg350-bf42ad705499b37bc849ffaaff7ecbaa0654b3d9.zip
TSAGE: R2R - Fix an original bug in card game logic
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index 69e25f7b7d..d117bbed22 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -4149,6 +4149,7 @@ void Scene1337::Action11::signal() {
}
}
+// Pick a card in opponent hand
void Scene1337::Action12::signal() {
Scene1337 *scene = (Scene1337 *)R2_GLOBALS._sceneManager._scene;
@@ -4185,7 +4186,8 @@ void Scene1337::Action12::signal() {
break;
case 1:
for (i = 0; i <= 3; i++) {
- if (scene->_gameBoardSide[3]._handCard[i]._cardId != 0)
+ // The original game was counting in the hand of player 3, which is obviously wrong
+ if (scene->_gameBoardSide[1]._handCard[i]._cardId != 0)
++count;
}
break;