aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDavid Fioramonti2018-08-05 19:51:40 -0700
committerPaul Gilbert2018-08-07 18:38:40 -0700
commitb47cae789b5ccfbf3999c870d372081ad9c50629 (patch)
treeb30505e38df51cdf35f30c31477bb411d991a177 /engines
parentf44229694900a3d25e8353013d20be472d819337 (diff)
downloadscummvm-rg350-b47cae789b5ccfbf3999c870d372081ad9c50629.tar.gz
scummvm-rg350-b47cae789b5ccfbf3999c870d372081ad9c50629.tar.bz2
scummvm-rg350-b47cae789b5ccfbf3999c870d372081ad9c50629.zip
TINSEL: Fix displayed saved game month off by one
This corrects the displayed month for querySaveMetaInfos being a month behind.
Diffstat (limited to 'engines')
-rw-r--r--engines/tinsel/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp
index 8b51320a27..a68ce0b8bd 100644
--- a/engines/tinsel/detection.cpp
+++ b/engines/tinsel/detection.cpp
@@ -159,7 +159,7 @@ SaveStateDescriptor TinselMetaEngine::querySaveMetaInfos(const char *target, int
int8 tm_min = file->readSByte();
file->readSByte(); // skip secs
- desc.setSaveDate(1900+tm_year, tm_mon, tm_mday);
+ desc.setSaveDate(1900 + tm_year, 1 + tm_mon, tm_mday);
desc.setSaveTime(tm_hour, tm_min);
if (ver >= 3) {