[Scummvm-cvs-logs] scummvm master -> 0962f332cb42afaf9d83bc0b3a7434f255c83835
cyxx
cyx at scummvm.org
Sat Feb 19 12:29:56 CET 2011
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:
0962f332cb TUCKER: fix #2872348 - walk bug by switching places in museum
Commit: 0962f332cb42afaf9d83bc0b3a7434f255c83835
https://github.com/scummvm/scummvm/commit/0962f332cb42afaf9d83bc0b3a7434f255c83835
Author: Gregory Montoir (cyx at scummvm.org)
Date: 2011-02-19T03:29:03-08:00
Commit Message:
TUCKER: fix #2872348 - walk bug by switching places in museum
Looks like an original game glitch, prevent hard-coded sequence
execution on location switch (after using map).
Changed paths:
engines/tucker/locations.cpp
diff --git a/engines/tucker/locations.cpp b/engines/tucker/locations.cpp
index 416f2ba..cd99656 100644
--- a/engines/tucker/locations.cpp
+++ b/engines/tucker/locations.cpp
@@ -2483,7 +2483,8 @@ void TuckerEngine::updateSprite_locationNum58(int i) {
}
void TuckerEngine::execData3PreUpdate_locationNum58() {
- if (_flagsTable[190] < 3 && _xPosCurrent > 310) {
+ // workaround original game glitch #2872348: do not change position on location change
+ if (_nextLocationNum == 0 && _flagsTable[190] < 3 && _xPosCurrent > 310) {
_xPosCurrent = 310;
_panelLockedFlag = 0;
}
More information about the Scummvm-git-logs
mailing list