diff options
author | Vladimir Menshakov | 2009-09-13 13:22:35 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-09-13 13:22:35 +0000 |
commit | 1ce0f84084bd77187f328efa15dc823a36a5d9eb (patch) | |
tree | d08a5951a97bacbeacacc6c9c49abd261ef70ed1 /engines/teenagent | |
parent | 38e5817c345ef4f499c9bed94f75a763fa0d73d2 (diff) | |
download | scummvm-rg350-1ce0f84084bd77187f328efa15dc823a36a5d9eb.tar.gz scummvm-rg350-1ce0f84084bd77187f328efa15dc823a36a5d9eb.tar.bz2 scummvm-rg350-1ce0f84084bd77187f328efa15dc823a36a5d9eb.zip |
return event status from the nextEvent()
svn-id: r44058
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/scene.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/scene.h b/engines/teenagent/scene.h index 48a9fe35fc..e899a0ecd1 100644 --- a/engines/teenagent/scene.h +++ b/engines/teenagent/scene.h @@ -133,9 +133,9 @@ private: static Common::Point messagePosition(const Common::String &str, const Common::Point & position); bool processEventQueue(); - inline void nextEvent() { + inline bool nextEvent() { current_event.clear(); - processEventQueue(); + return processEventQueue(); } TeenAgentEngine *_engine; |