aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld2
diff options
context:
space:
mode:
authorStrangerke2012-11-09 22:03:52 +0100
committerStrangerke2012-11-09 22:03:52 +0100
commitd8fb63467a00898edc9f91bd87d66bbb01182379 (patch)
tree2720ebfc697a7281b307dced247a48c19ab99f2d /engines/tsage/ringworld2
parent9d7b55eb60432b8b72c5f73f130e0bd6e38f94ac (diff)
downloadscummvm-rg350-d8fb63467a00898edc9f91bd87d66bbb01182379.tar.gz
scummvm-rg350-d8fb63467a00898edc9f91bd87d66bbb01182379.tar.bz2
scummvm-rg350-d8fb63467a00898edc9f91bd87d66bbb01182379.zip
TSAGE: Fix a bug reported by salty-horse (and Clang)
Diffstat (limited to 'engines/tsage/ringworld2')
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
index 4c98fcf00a..76e5abd213 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
@@ -61,7 +61,7 @@ void Scene50::postInit(SceneObjectList *OwnerList) {
}
void Scene50::process(Event &event) {
- if ((event.eventType != EVENT_BUTTON_DOWN) && (event.eventType != EVENT_KEYPRESS) && (event.eventType == 27)) {
+ if ((event.eventType != EVENT_BUTTON_DOWN) && (event.eventType != EVENT_KEYPRESS) && (event.eventType == EVENT_UNK27)) {
event.handled = true;
warning("TODO: incomplete Scene50::process()");
// CursorType _oldCursorId = _cursorId;