diff options
author | Max Horn | 2005-01-10 22:06:49 +0000 |
---|---|---|
committer | Max Horn | 2005-01-10 22:06:49 +0000 |
commit | cffd917165a14e981d61342458a9d054d3c14705 (patch) | |
tree | 3aa6658993fa842477a7ab10b2a21dbf7625a531 /sword2/driver/menu.cpp | |
parent | e79458130835528ddf693fba868243cbbfb4ee9a (diff) | |
download | scummvm-rg350-cffd917165a14e981d61342458a9d054d3c14705.tar.gz scummvm-rg350-cffd917165a14e981d61342458a9d054d3c14705.tar.bz2 scummvm-rg350-cffd917165a14e981d61342458a9d054d3c14705.zip |
system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
Diffstat (limited to 'sword2/driver/menu.cpp')
-rw-r--r-- | sword2/driver/menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/driver/menu.cpp b/sword2/driver/menu.cpp index e8b39d0d37..98a430e11c 100644 --- a/sword2/driver/menu.cpp +++ b/sword2/driver/menu.cpp @@ -55,10 +55,10 @@ void Graphics::processMenu(void) { static int32 lastTime = 0; if (lastTime == 0) { - lastTime = _vm->_system->getMillis(); + lastTime = _vm->getMillis(); frameCount = 1; } else { - int32 delta = _vm->_system->getMillis() - lastTime; + int32 delta = _vm->getMillis() - lastTime; if (delta > 250) { lastTime += delta; |