mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-29 08:16:11 +00:00
Get rid of signed vs unsigned comparison warning by changing room temps to s32
This commit is contained in:
parent
35d52c9605
commit
a858c84f62
1 changed files with 2 additions and 2 deletions
|
@ -4239,7 +4239,7 @@ s32 WaterBox_GetSurface1(PlayState* play, CollisionContext* colCtx, f32 x, f32 z
|
||||||
s32 WaterBox_GetSurfaceImpl(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface,
|
s32 WaterBox_GetSurfaceImpl(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface,
|
||||||
WaterBox** outWaterBox) {
|
WaterBox** outWaterBox) {
|
||||||
CollisionHeader* colHeader = colCtx->colHeader;
|
CollisionHeader* colHeader = colCtx->colHeader;
|
||||||
u32 room;
|
s32 room;
|
||||||
WaterBox* curWaterBox;
|
WaterBox* curWaterBox;
|
||||||
|
|
||||||
if (colHeader->numWaterBoxes == 0 || colHeader->waterBoxes == SEGMENTED_TO_VIRTUAL(NULL)) {
|
if (colHeader->numWaterBoxes == 0 || colHeader->waterBoxes == SEGMENTED_TO_VIRTUAL(NULL)) {
|
||||||
|
@ -4346,7 +4346,7 @@ u32 WaterBox_GetLightIndex(CollisionContext* colCtx, WaterBox* waterBox) {
|
||||||
*/
|
*/
|
||||||
s32 func_800425B0(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface, WaterBox** outWaterBox) {
|
s32 func_800425B0(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface, WaterBox** outWaterBox) {
|
||||||
CollisionHeader* colHeader = colCtx->colHeader;
|
CollisionHeader* colHeader = colCtx->colHeader;
|
||||||
u32 room;
|
s32 room;
|
||||||
WaterBox* curWaterBox;
|
WaterBox* curWaterBox;
|
||||||
|
|
||||||
if (colHeader->numWaterBoxes == 0 || colHeader->waterBoxes == SEGMENTED_TO_VIRTUAL(NULL)) {
|
if (colHeader->numWaterBoxes == 0 || colHeader->waterBoxes == SEGMENTED_TO_VIRTUAL(NULL)) {
|
||||||
|
|
Loading…
Reference in a new issue