aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2011-01-31 20:42:41 +0000
committerSven Hesse2011-01-31 20:42:41 +0000
commita29282eefd6de551efc70317e3402531c3518ecb (patch)
tree219dc5ba88aefcabe32d28a46524d356331f087b /engines
parentb8743962198622417fa34873a866fbe9e1d50675 (diff)
downloadscummvm-rg350-a29282eefd6de551efc70317e3402531c3518ecb.tar.gz
scummvm-rg350-a29282eefd6de551efc70317e3402531c3518ecb.tar.bz2
scummvm-rg350-a29282eefd6de551efc70317e3402531c3518ecb.zip
GOB: Fix last updated month's range
svn-id: r55692
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/dbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/dbase.cpp b/engines/gob/dbase.cpp
index 3aee136187..12c382dbcb 100644
--- a/engines/gob/dbase.cpp
+++ b/engines/gob/dbase.cpp
@@ -51,7 +51,7 @@ bool dBase::load(Common::SeekableReadStream &stream) {
_hasMemo = (_version & 0x80) != 0;
_lastUpdate.tm_year = stream.readByte();
- _lastUpdate.tm_mon = stream.readByte();
+ _lastUpdate.tm_mon = stream.readByte() - 1;
_lastUpdate.tm_mday = stream.readByte();
_lastUpdate.tm_hour = 0;
_lastUpdate.tm_min = 0;