aboutsummaryrefslogtreecommitdiff
path: root/sword2/function.cpp
diff options
context:
space:
mode:
authorMax Horn2005-01-10 22:06:49 +0000
committerMax Horn2005-01-10 22:06:49 +0000
commitcffd917165a14e981d61342458a9d054d3c14705 (patch)
tree3aa6658993fa842477a7ab10b2a21dbf7625a531 /sword2/function.cpp
parente79458130835528ddf693fba868243cbbfb4ee9a (diff)
downloadscummvm-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/function.cpp')
-rw-r--r--sword2/function.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp
index 102f328281..99f52a8b5e 100644
--- a/sword2/function.cpp
+++ b/sword2/function.cpp
@@ -19,6 +19,7 @@
#include "common/stdafx.h"
#include "common/file.h"
+#include "common/system.h"
#include "sword2/sword2.h"
#include "sword2/defs.h"
#include "sword2/interpreter.h"
@@ -588,7 +589,7 @@ int32 Logic::fnPlayCredits(int32 *params) {
bool abortCredits = false;
int scrollSteps = lineTop + CREDITS_FONT_HEIGHT;
- uint32 musicStart = _vm->_system->getMillis();
+ uint32 musicStart = _vm->getMillis();
// Ideally the music should last just a tiny bit longer than the
// credits. Note that musicTimeRemaining() will return 0 if the music