aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2009-01-23 04:01:38 +0000
committerTravis Howell2009-01-23 04:01:38 +0000
commit8914ef89eaeedf8bd2f788d8ee136ed54b932546 (patch)
tree170cca0913266d1584a8a775a97b417c923f39f8 /engines/agos
parenta925b5e7b70493b797ce40a8338e6177c69b35ab (diff)
downloadscummvm-rg350-8914ef89eaeedf8bd2f788d8ee136ed54b932546.tar.gz
scummvm-rg350-8914ef89eaeedf8bd2f788d8ee136ed54b932546.tar.bz2
scummvm-rg350-8914ef89eaeedf8bd2f788d8ee136ed54b932546.zip
Remove last use of time() in AGOS engine.
svn-id: r36016
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/agos.cpp3
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;
}