aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/inter.cpp')
-rw-r--r--engines/gob/inter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp
index afd215a00d..0d48ad719c 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -23,8 +23,6 @@
*
*/
-#include <time.h> // FIXME: for Inter::renewTimeInVars()
-
#include "common/endian.h"
#include "gob/gob.h"
@@ -159,7 +157,7 @@ void Inter::initControlVars(char full) {
}
void Inter::renewTimeInVars() {
- struct tm t;
+ TimeDate t;
_vm->_system->getTimeAndDate(t);
WRITE_VAR(5, 1900 + t.tm_year);