[Scummvm-git-logs] scummvm master -> 1d6b4b7b2ee6b52b9c490a85f81badfa182dece1
shkupfer
noreply at scummvm.org
Fri Apr 21 23:35:48 UTC 2023
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:
1d6b4b7b2e SCUMM HE: BB01 competitive online play: no double play powerups (#4919)
Commit: 1d6b4b7b2ee6b52b9c490a85f81badfa182dece1
https://github.com/scummvm/scummvm/commit/1d6b4b7b2ee6b52b9c490a85f81badfa182dece1
Author: shkupfer (shkupf at gmail.com)
Date: 2023-04-21T19:35:44-04:00
Commit Message:
SCUMM HE: BB01 competitive online play: no double play powerups (#4919)
Co-authored-by: shkupfer <shkupfer at ncsu.edu>
Changed paths:
engines/scumm/script.cpp
diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp
index 783c03c428d..4f244c8cf08 100644
--- a/engines/scumm/script.cpp
+++ b/engines/scumm/script.cpp
@@ -594,6 +594,12 @@ int ScummEngine::readVar(uint var) {
return _roomVars[var] - 1;
}
}
+ // Mod for Backyard Baseball 2001 online competitive play: don't give powerups for double plays
+ // Return true for this variable, which dictates whether powerups are disabled, but only in this script
+ // that detects double plays (among other things)
+ if (_game.id == GID_BASEBALL2001 && _currentRoom == 3 && vm.slot[_currentScript].number == 2099 && var == 32 && readVar(399) == 1) {
+ return 1;
+ }
}
#endif
More information about the Scummvm-git-logs
mailing list