From e8183b43484fab6a4ff4e3e91ea17387effa3560 Mon Sep 17 00:00:00 2001 From: fig02 Date: Sun, 24 Nov 2024 02:20:10 -0500 Subject: [PATCH] cant use -1 for condition --- src/code/z_play.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code/z_play.c b/src/code/z_play.c index 1d22519645..96c78655e3 100644 --- a/src/code/z_play.c +++ b/src/code/z_play.c @@ -485,7 +485,7 @@ void Play_Init(GameState* thisx) { playerStartBgCamIndex = PLAYER_GET_START_BG_CAM_INDEX(&player->actor); - if (playerStartBgCamIndex != -1) { + if (playerStartBgCamIndex != 0xFF) { PRINTF("player has start camera ID (" VT_FGCOL(BLUE) "%d" VT_RST ")\n", playerStartBgCamIndex); Camera_RequestBgCam(&this->mainCamera, playerStartBgCamIndex); }