Merge pull request #2357 from LOuroboros/patch-2

Update field_specials.c
This commit is contained in:
Eduardo Quezada D'Ottone 2022-09-24 22:35:58 -03:00 committed by GitHub
commit b8aa34af81
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)
{ {