[Scummvm-cvs-logs] scummvm master -> 0209ce4e3a1767fd9e7a87873ed1f39df5323608
clone2727
clone2727 at gmail.com
Mon Apr 22 23:25:19 CEST 2013
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:
0209ce4e3a SCUMM: Fix a bug in football's nextPoint U32 opcode
Commit: 0209ce4e3a1767fd9e7a87873ed1f39df5323608
https://github.com/scummvm/scummvm/commit/0209ce4e3a1767fd9e7a87873ed1f39df5323608
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2013-04-22T14:22:29-07:00
Commit Message:
SCUMM: Fix a bug in football's nextPoint U32 opcode
Seems to fix bug #3495704
Changed paths:
engines/scumm/he/logic/football.cpp
diff --git a/engines/scumm/he/logic/football.cpp b/engines/scumm/he/logic/football.cpp
index b405d63..bed3f6b 100644
--- a/engines/scumm/he/logic/football.cpp
+++ b/engines/scumm/he/logic/football.cpp
@@ -218,10 +218,10 @@ int LogicHEfootball::nextPoint(int32 *args) {
if (res >= (double)args[6]) {
var8 = (double)args[6] * var8 / res;
var10 = (double)args[6] * var10 / res;
- res = (double)args[6] * var6 / res;
+ var6 = (double)args[6] * var6 / res;
}
- writeScummVar(108, (int32)res);
+ writeScummVar(108, (int32)var6);
writeScummVar(109, (int32)var10);
writeScummVar(110, (int32)var8);
More information about the Scummvm-git-logs
mailing list