diff options
-rw-r--r-- | engines/agos/agos.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index a2c7467412..24d65a13b2 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -1080,8 +1080,7 @@ void AGOSEngine::shutdown() { */ uint32 AGOSEngine::getTime() const { - // FIXME: calling time() is not portable, use OSystem::getMillis instead - return (uint32)time(NULL); + return _system->getMillis() / 1000; } |