diff options
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 95b6ecfaf4..8adb7fca4e 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->get_msecs() + duration; + _timer = g_system->getMillis() + duration; } void TimedMessageDialog::handleTickle() { MessageDialog::handleTickle(); - if (g_system->get_msecs() > _timer) + if (g_system->getMillis() > _timer) close(); } |