From d68ab5e4af761d9c78ebcf3b391ae517ad71973e Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 30 Sep 2019 03:03:11 +0100 Subject: STARTREK: Fix MSVC Signed vs. Unsigned Byte Warning --- engines/startrek/awaymission.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/startrek') 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; -- cgit v1.2.3