aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kennedy2016-03-24 22:18:06 -0400
committerMartin Kennedy2016-03-24 22:18:06 -0400
commit1320f25aaa116fa34d1e4a57dd72b83287146b61 (patch)
tree180c92632fe01896e7cfc5ed967300d0ee0e3392 /engines
parent60b763bd4cc5e8bcbd5638ade0e414ff7c75d2c5 (diff)
downloadscummvm-rg350-1320f25aaa116fa34d1e4a57dd72b83287146b61.tar.gz
scummvm-rg350-1320f25aaa116fa34d1e4a57dd72b83287146b61.tar.bz2
scummvm-rg350-1320f25aaa116fa34d1e4a57dd72b83287146b61.zip
WINTERMUTE: Make wintermute games show the right save date
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/base_persistence_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/base_persistence_manager.cpp b/engines/wintermute/base/base_persistence_manager.cpp
index 39462f7a15..5a694e7ce2 100644
--- a/engines/wintermute/base/base_persistence_manager.cpp
+++ b/engines/wintermute/base/base_persistence_manager.cpp
@@ -183,7 +183,7 @@ void BasePersistenceManager::getSaveStateDesc(int slot, SaveStateDescriptor &des
}
}
- desc.setSaveDate(_savedTimestamp.tm_year, _savedTimestamp.tm_mon, _savedTimestamp.tm_mday);
+ desc.setSaveDate(_savedTimestamp.tm_year + 1900, _savedTimestamp.tm_mon + 1, _savedTimestamp.tm_mday);
desc.setSaveTime(_savedTimestamp.tm_hour, _savedTimestamp.tm_min);
desc.setPlayTime(0);
}