GUI: Remove GuiObject::getMillis()

svn-id: r48241
This commit is contained in:
Max Horn 2010-03-11 23:41:28 +00:00
parent 6e78fdc161
commit 4fc8ebab01
8 changed files with 14 additions and 22 deletions

View file

@ -110,12 +110,12 @@ void MessageDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data
TimedMessageDialog::TimedMessageDialog(const Common::String &message, uint32 duration)
: MessageDialog(message, 0, 0) {
_timer = getMillis() + duration;
_timer = g_system->getMillis() + duration;
}
void TimedMessageDialog::handleTickle() {
MessageDialog::handleTickle();
if (getMillis() > _timer)
if (g_system->getMillis() > _timer)
close();
}