Fix conflicting types for rotating gate functions (#2087)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "event_data.h"
|
||||
#include "event_object_movement.h"
|
||||
#include "fieldmap.h"
|
||||
#include "rotating_gate.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
#include "constants/songs.h"
|
||||
@@ -938,7 +939,7 @@ void RotatingGate_InitPuzzle(void)
|
||||
}
|
||||
}
|
||||
|
||||
void RotatingGatePuzzleCameraUpdate(u16 deltaX, u16 deltaY)
|
||||
void RotatingGatePuzzleCameraUpdate(s16 deltaX, s16 deltaY)
|
||||
{
|
||||
if (GetCurrentMapRotatingGatePuzzleType())
|
||||
{
|
||||
@@ -957,7 +958,7 @@ void RotatingGate_InitPuzzleAndGraphics(void)
|
||||
}
|
||||
}
|
||||
|
||||
bool8 CheckForRotatingGatePuzzleCollision(u8 direction, s16 x, s16 y)
|
||||
bool32 CheckForRotatingGatePuzzleCollision(u8 direction, s16 x, s16 y)
|
||||
{
|
||||
s32 i;
|
||||
|
||||
@@ -995,7 +996,7 @@ bool8 CheckForRotatingGatePuzzleCollision(u8 direction, s16 x, s16 y)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool8 CheckForRotatingGatePuzzleCollisionWithoutAnimation(u8 direction, s16 x, s16 y)
|
||||
bool32 CheckForRotatingGatePuzzleCollisionWithoutAnimation(u8 direction, s16 x, s16 y)
|
||||
{
|
||||
s32 i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user