[Scummvm-git-logs] scummvm master -> 8dfda9e663cb0f4a37a69b89ac6a39414ca7a5f6
bluegr
noreply at scummvm.org
Mon Mar 10 12:33:22 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8dfda9e663 DGDS: Merge the "Play game" code paths of the two China mini-games.
Commit: 8dfda9e663cb0f4a37a69b89ac6a39414ca7a5f6
https://github.com/scummvm/scummvm/commit/8dfda9e663cb0f4a37a69b89ac6a39414ca7a5f6
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-03-10T14:33:00+02:00
Commit Message:
DGDS: Merge the "Play game" code paths of the two China mini-games.
The interface options available before starting the two mini-games are
the same
Changed paths:
engines/dgds/menu.cpp
diff --git a/engines/dgds/menu.cpp b/engines/dgds/menu.cpp
index a4b015e32f2..eda6fe50060 100644
--- a/engines/dgds/menu.cpp
+++ b/engines/dgds/menu.cpp
@@ -743,14 +743,9 @@ bool Menu::handleClick(const Common::Point &mouse) {
engine->changeScene(57); // skip train mini-game, return to travel map
break;
case kMenuTankTrainPlayArcade:
- if (currentScene == 73) {
- // Tank game - not implemented.
- warning("TODO: Play tank mini-game");
- drawMenu(_curMenu);
- } else if (currentScene == 84) {
- // Play train game - open the "save before arcade" menu.
- drawMenu(kMenuSaveBeforeArcade);
- }
+ // Open the "save before arcade" menu before playing the tank
+ // or train mini-games.
+ drawMenu(kMenuSaveBeforeArcade);
break;
case kMainMenuWillySoundsOnOff:
_toggleSoundType(Audio::Mixer::kSFXSoundType);
More information about the Scummvm-git-logs
mailing list