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 /gui/message.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 'gui/message.cpp')
-rw-r--r-- | gui/message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/message.cpp b/gui/message.cpp index 5ee78027e5..d5d44238df 100644 --- a/gui/message.cpp +++ b/gui/message.cpp @@ -156,12 +156,12 @@ void MessageDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data TimedMessageDialog::TimedMessageDialog(const Common::String &message, uint32 duration) : MessageDialog(message, 0, 0) { - _timer = g_system->getMillis() + duration; + _timer = getMillis() + duration; } void TimedMessageDialog::handleTickle() { MessageDialog::handleTickle(); - if (g_system->getMillis() > _timer) + if (getMillis() > _timer) close(); } |