diff options
author | Strangerke | 2013-12-11 22:22:06 +0100 |
---|---|---|
committer | Strangerke | 2013-12-11 23:22:12 +0100 |
commit | 884a61f4dabcc274d1e6a1b3ac0acc37954c0394 (patch) | |
tree | fb5454ed12117dcfefa174b6b0680d23e6f86ccb /engines | |
parent | 97fc0a3bd12b93a9a8510f8ccf027bf6083ac068 (diff) | |
download | scummvm-rg350-884a61f4dabcc274d1e6a1b3ac0acc37954c0394.tar.gz scummvm-rg350-884a61f4dabcc274d1e6a1b3ac0acc37954c0394.tar.bz2 scummvm-rg350-884a61f4dabcc274d1e6a1b3ac0acc37954c0394.zip |
TSAGE: R2R - Remove an intermediate (useless) function
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 6 | ||||
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.h | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index ec17ab5584..db3bc39dab 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -6414,13 +6414,9 @@ void Scene1337::handlePlayer3() { discardCard(&_gameBoardSide[3]._handCard[randIndx]); } -void Scene1337::subD026D() { - subD02CA(); -} - void Scene1337::handlePlayer2() { if (isSlowCard(this->_gameBoardSide[2]._delayCard._cardId) == -1) - _delayedFunction = &Scene1337::subD026D; + _delayedFunction = &Scene1337::subD02CA; else discardCard(&_gameBoardSide[2]._delayCard); } diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.h b/engines/tsage/ringworld2/ringworld2_scenes1.h index bd0b1ec06d..5833105220 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.h +++ b/engines/tsage/ringworld2/ringworld2_scenes1.h @@ -368,9 +368,8 @@ public: void handleClick(int arg1, Common::Point pt); void handlePlayer0(); void handlePlayer1(); - void handlePlayer3(); - void subD026D(); void handlePlayer2(); + void handlePlayer3(); void subD02CA(); void updateCursorId(int arg1, bool arg2); void setCursorData(int resNum, int rlbNum, int frameNum); |