aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorArnaud Boutonné2010-08-20 16:40:13 +0000
committerArnaud Boutonné2010-08-20 16:40:13 +0000
commit9d5dada110c5563fd77ed19b061ee1a92cde952c (patch)
tree0ca65e8c716c7b3aa50117d7aabd056b7b8bf099 /engines/hugo
parente81eab613374655022a592a055e7afe106765147 (diff)
downloadscummvm-rg350-9d5dada110c5563fd77ed19b061ee1a92cde952c.tar.gz
scummvm-rg350-9d5dada110c5563fd77ed19b061ee1a92cde952c.tar.bz2
scummvm-rg350-9d5dada110c5563fd77ed19b061ee1a92cde952c.zip
Oups - Fix compilation
svn-id: r52231
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/mouse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/mouse.cpp b/engines/hugo/mouse.cpp
index dcc4b20730..d8b1e7e50c 100644
--- a/engines/hugo/mouse.cpp
+++ b/engines/hugo/mouse.cpp
@@ -281,7 +281,7 @@ void MouseHandler::mouseHandler() {
if (objId >= 0) { // Got a match
// Display object name next to cursor (unless CURSOR_NOCHAR)
// Note test for swapped hero name
- name = _vm._arrayNouns[(_vm._objects[objId == HERO) ? _vm._heroImage : objId].nounIndex][CURSOR_NAME];
+ name = _vm._arrayNouns[_vm._objects[(objId == HERO) ? _vm._heroImage : objId].nounIndex][CURSOR_NAME];
if (name[0] != CURSOR_NOCHAR)
cursorText(name, cx, cy, U_FONT8, _TBRIGHTWHITE);