STARTREK: Fix MSVC Signed vs. Unsigned Byte Warning

This commit is contained in:
D G Turner 2019-09-30 03:03:11 +01:00
parent 460c192e67
commit d68ab5e4af

View File

@ -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;