aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Menshakov2009-09-13 13:22:35 +0000
committerVladimir Menshakov2009-09-13 13:22:35 +0000
commit1ce0f84084bd77187f328efa15dc823a36a5d9eb (patch)
treed08a5951a97bacbeacacc6c9c49abd261ef70ed1
parent38e5817c345ef4f499c9bed94f75a763fa0d73d2 (diff)
downloadscummvm-rg350-1ce0f84084bd77187f328efa15dc823a36a5d9eb.tar.gz
scummvm-rg350-1ce0f84084bd77187f328efa15dc823a36a5d9eb.tar.bz2
scummvm-rg350-1ce0f84084bd77187f328efa15dc823a36a5d9eb.zip
return event status from the nextEvent()
svn-id: r44058
-rw-r--r--engines/teenagent/scene.h4
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;