From cec67791d470d3735b40a34400510578ad3fd024 Mon Sep 17 00:00:00 2001 From: Fazana <52551480+FazanaJ@users.noreply.github.com> Date: Tue, 3 May 2022 23:10:13 +0100 Subject: [PATCH] fix small label accuracy apprently I didn't commit this yday on my other machine --- src/racer.c | 2 +- src/racer.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/racer.c b/src/racer.c index 1ed4a911..04a0f058 100644 --- a/src/racer.c +++ b/src/racer.c @@ -531,7 +531,7 @@ void obj_init_racer(Object *obj, LevelObjectEntry_CharacterFlag *arg1) { tempObj->stretch_height_cap = 1.0f; // Decide which player ID to assign to this object. Human players get a value from 0-3. // Computer players will be -1. - if (player >= PLAYER_NONE && player < PLAYER_FOUR) { + if (player >= PLAYER_ONE && player <= PLAYER_FOUR) { if (func_8000E158()) { player = 1 - player; } diff --git a/src/racer.h b/src/racer.h index 3d891645..08c335dd 100644 --- a/src/racer.h +++ b/src/racer.h @@ -6,7 +6,6 @@ typedef enum ActivePlayers { PLAYER_COMPUTER = -1, - PLAYER_NONE, PLAYER_ONE, PLAYER_TWO, PLAYER_THREE,