make field tasks compile
This commit is contained in:
@@ -646,7 +646,7 @@ static void RotatingGate_ResetAllGateOrientations(void)
|
||||
s32 i;
|
||||
u8 *ptr;
|
||||
|
||||
ptr = (u8 *)GetVarPointer(VAR_0x4000);
|
||||
ptr = (u8 *)GetVarPointer(VAR_TEMP_0);
|
||||
|
||||
for (i = 0; i < gRotatingGate_PuzzleCount; i++)
|
||||
{
|
||||
@@ -656,12 +656,12 @@ static void RotatingGate_ResetAllGateOrientations(void)
|
||||
|
||||
static s32 RotatingGate_GetGateOrientation(u8 gateId)
|
||||
{
|
||||
return ((u8 *)GetVarPointer(VAR_0x4000))[gateId];
|
||||
return ((u8 *)GetVarPointer(VAR_TEMP_0))[gateId];
|
||||
}
|
||||
|
||||
static void RotatingGate_SetGateOrientation(u8 gateId, u8 orientation)
|
||||
{
|
||||
((u8 *)GetVarPointer(VAR_0x4000))[gateId] = orientation;
|
||||
((u8 *)GetVarPointer(VAR_TEMP_0))[gateId] = orientation;
|
||||
}
|
||||
|
||||
static void RotatingGate_RotateInDirection(u8 gateId, u32 rotationDirection)
|
||||
|
||||
Reference in New Issue
Block a user