aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-09-30 03:03:11 +0100
committerD G Turner2019-09-30 03:03:11 +0100
commitd68ab5e4af761d9c78ebcf3b391ae517ad71973e (patch)
tree561a6dc0b49fbd937ef5d33d85ff8091a9eca2f8
parent460c192e67d9ad0b512811fdb90e98a1a0eba83d (diff)
downloadscummvm-rg350-d68ab5e4af761d9c78ebcf3b391ae517ad71973e.tar.gz
scummvm-rg350-d68ab5e4af761d9c78ebcf3b391ae517ad71973e.tar.bz2
scummvm-rg350-d68ab5e4af761d9c78ebcf3b391ae517ad71973e.zip
STARTREK: Fix MSVC Signed vs. Unsigned Byte Warning
-rw-r--r--engines/startrek/awaymission.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/startrek/awaymission.cpp b/engines/startrek/awaymission.cpp
index 84985c3925..1b6af075a8 100644
--- a/engines/startrek/awaymission.cpp
+++ b/engines/startrek/awaymission.cpp
@@ -602,7 +602,7 @@ void StarTrekEngine::handleAwayMissionAction() {
break;
case OBJECT_ICOMM:
- if (!_room->handleAction(ACTION_USE, OBJECT_ICOMM, -1, 0))
+ if (!_room->handleAction(ACTION_USE, OBJECT_ICOMM, 0xff, 0))
showTextbox("Lt. Uhura", getLoadedText(GROUNDTX_USE_COMMUNICATOR), 20, 20, TEXTCOLOR_RED, 0);
break;