diff options
author | Strangerke | 2013-12-21 17:30:00 +0100 |
---|---|---|
committer | Strangerke | 2013-12-21 17:30:45 +0100 |
commit | c1f6e1d1b5aa977ecc2efe7e9e8a714609a78bdf (patch) | |
tree | f2e5e6e7924cb84630c493f37941ff73a1888dc1 /engines/tsage | |
parent | cba54cce9821dcfbabce18ed2c6ca995de4525dd (diff) | |
download | scummvm-rg350-c1f6e1d1b5aa977ecc2efe7e9e8a714609a78bdf.tar.gz scummvm-rg350-c1f6e1d1b5aa977ecc2efe7e9e8a714609a78bdf.tar.bz2 scummvm-rg350-c1f6e1d1b5aa977ecc2efe7e9e8a714609a78bdf.zip |
TSAGE: Add some workarounds to avoid card game freezes
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index bb5f372147..2d1007da98 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -4320,6 +4320,7 @@ void Scene1337::Action12::signal() { break; } scene->discardCard(scene->_actionCard2); + scene->handleNextTurn(); break; default: break; @@ -5038,6 +5039,8 @@ void Scene1337::playAntiDelayCard(Card *card, Card *dest) { _actionCard2 = dest; _actionItem.setAction(&_action8); + + handleNextTurn(); } @@ -5056,6 +5059,7 @@ void Scene1337::playCounterTrickCard(Card *card, int playerId) { _actionCard3 = &_gameBoardSide[playerId]._emptyStationPos; _actionIdx1 = playerId; _actionItem.setAction(&_action10); + handleNextTurn(); } void Scene1337::discardCard(Card *card) { |