mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-21 14:25:22 +00:00
cant use -1 for condition
This commit is contained in:
parent
1a0d352df6
commit
e8183b4348
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ void Play_Init(GameState* thisx) {
|
||||||
|
|
||||||
playerStartBgCamIndex = PLAYER_GET_START_BG_CAM_INDEX(&player->actor);
|
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);
|
PRINTF("player has start camera ID (" VT_FGCOL(BLUE) "%d" VT_RST ")\n", playerStartBgCamIndex);
|
||||||
Camera_RequestBgCam(&this->mainCamera, playerStartBgCamIndex);
|
Camera_RequestBgCam(&this->mainCamera, playerStartBgCamIndex);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue