diff options
author | Sven Hesse | 2011-01-31 20:42:41 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-31 20:42:41 +0000 |
commit | a29282eefd6de551efc70317e3402531c3518ecb (patch) | |
tree | 219dc5ba88aefcabe32d28a46524d356331f087b /engines | |
parent | b8743962198622417fa34873a866fbe9e1d50675 (diff) | |
download | scummvm-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.cpp | 2 |
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; |