Update field_specials.c

This commit is contained in:
LOuroboros 2022-09-24 22:22:18 -03:00 committed by GitHub
parent 13573b6e53
commit 8e9bfda120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1055,7 +1055,7 @@ static void PCTurnOffEffect(void)
u16 tileId = 0; u16 tileId = 0;
u8 playerDirection = GetPlayerFacingDirection(); u8 playerDirection = GetPlayerFacingDirection();
if (IsPlayerInFrontOfPC() == TRUE) if (IsPlayerInFrontOfPC() == FALSE)
return; return;
switch (playerDirection) switch (playerDirection)
{ {