[Scummvm-git-logs] scummvm master -> a86a4e02863823da44961a9c0708eef1cdfd9f42
bonki
bonki at users.noreply.github.com
Wed Mar 21 22:00:26 CET 2018
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:
a86a4e0286 TUCKER: Use kLastSaveSlot where appropriate
Commit: a86a4e02863823da44961a9c0708eef1cdfd9f42
https://github.com/scummvm/scummvm/commit/a86a4e02863823da44961a9c0708eef1cdfd9f42
Author: Adrian Frühwirth (bonki at users.noreply.github.com)
Date: 2018-03-21T21:59:43+01:00
Commit Message:
TUCKER: Use kLastSaveSlot where appropriate
Changed paths:
engines/tucker/tucker.cpp
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp
index fe468a4..2038493 100644
--- a/engines/tucker/tucker.cpp
+++ b/engines/tucker/tucker.cpp
@@ -1390,7 +1390,7 @@ void TuckerEngine::saveOrLoad() {
drawSpeechText(_scrollOffset + 120, 170, _infoBarBuf, 21, 102);
}
if (_mousePosY > 140) {
- if (_mouseWheelUp && _currentSaveLoadGameState < 99) {
+ if (_mouseWheelUp && _currentSaveLoadGameState < kLastSaveSlot) {
++_currentSaveLoadGameState;
_forceRedrawPanelItems = true;
return;
@@ -1403,7 +1403,7 @@ void TuckerEngine::saveOrLoad() {
if (_leftMouseButtonPressed && _mouseClick == 0) {
_mouseClick = 1;
if (_mousePosX > 228 && _mousePosX < 240 && _mousePosY > 154 && _mousePosY < 170) {
- if (_currentSaveLoadGameState < 99) {
+ if (_currentSaveLoadGameState < kLastSaveSlot) {
++_currentSaveLoadGameState;
_forceRedrawPanelItems = true;
}
More information about the Scummvm-git-logs
mailing list