aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/inter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp
index ca3733818a..ef9a34e23c 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -284,7 +284,7 @@ void Inter::renewTimeInVars(void) {
t = localtime(&now);
WRITE_VAR(5, 1900 + t->tm_year);
- WRITE_VAR(6, t->tm_mon);
+ WRITE_VAR(6, t->tm_mon + 1);
WRITE_VAR(7, 0);
WRITE_VAR(8, t->tm_mday);
WRITE_VAR(9, t->tm_hour);