diff options
author | David Fioramonti | 2018-08-05 19:51:40 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-08-07 18:38:40 -0700 |
commit | b47cae789b5ccfbf3999c870d372081ad9c50629 (patch) | |
tree | b30505e38df51cdf35f30c31477bb411d991a177 /engines | |
parent | f44229694900a3d25e8353013d20be472d819337 (diff) | |
download | scummvm-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.cpp | 2 |
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) { |