diff options
author | johndoe123 | 2014-12-11 14:14:52 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 36ec0fafdb186ad55a0d6c08e38b96ef84fa60a8 (patch) | |
tree | 60c9d7eb972d42f7e6cdaf5d6cb169906f4e1c28 /engines/illusions/threads/timerthread.cpp | |
parent | a078073e88c094c23e4eb51e5fb85e2cecc3ae9a (diff) | |
download | scummvm-rg350-36ec0fafdb186ad55a0d6c08e38b96ef84fa60a8.tar.gz scummvm-rg350-36ec0fafdb186ad55a0d6c08e38b96ef84fa60a8.tar.bz2 scummvm-rg350-36ec0fafdb186ad55a0d6c08e38b96ef84fa60a8.zip |
ILLUSIONS: Refactor the input system
Diffstat (limited to 'engines/illusions/threads/timerthread.cpp')
-rw-r--r-- | engines/illusions/threads/timerthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/illusions/threads/timerthread.cpp b/engines/illusions/threads/timerthread.cpp index 714c719bc9..5842098739 100644 --- a/engines/illusions/threads/timerthread.cpp +++ b/engines/illusions/threads/timerthread.cpp @@ -46,7 +46,7 @@ TimerThread::TimerThread(IllusionsEngine *vm, uint32 threadId, uint32 callingThr int TimerThread::onUpdate() { if (isTimerExpired(_startTime, _endTime) || - (_isAbortable && _vm->_input->pollButton(8))) + (_isAbortable && _vm->_input->pollEvent(kEventAbort))) return kTSTerminate; return kTSYield; } |