Solved a bunch of -Wall errors on modern
This commit is contained in:
@@ -1011,7 +1011,7 @@ static void PCTurnOnEffect(struct Task *task)
|
||||
if (task->tTimer == 6)
|
||||
{
|
||||
task->tTimer = 0;
|
||||
|
||||
|
||||
// Get where the PC should be, depending on where the player is looking.
|
||||
playerDirection = GetPlayerFacingDirection();
|
||||
switch (playerDirection)
|
||||
@@ -1033,7 +1033,7 @@ static void PCTurnOnEffect(struct Task *task)
|
||||
// Update map
|
||||
PCTurnOnEffect_SetMetatile(task->tIsScreenOn, dx, dy);
|
||||
DrawWholeMapView();
|
||||
|
||||
|
||||
// Screen flickers 5 times. Odd number and starting with the
|
||||
// screen off means the animation ends with the screen on.
|
||||
task->tIsScreenOn ^= 1;
|
||||
|
||||
Reference in New Issue
Block a user