From a35986fd9c460f530111f4521655df7eef8e9ca0 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Tue, 8 Nov 2022 20:52:34 -0300 Subject: [PATCH] Fixed indentation in ScrCmd_faceplayer --- src/scrcmd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/scrcmd.c b/src/scrcmd.c index 3d67c69e5..01e1a8f09 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -1152,10 +1152,7 @@ bool8 ScrCmd_resetobjectsubpriority(struct ScriptContext *ctx) bool8 ScrCmd_faceplayer(struct ScriptContext *ctx) { if (gObjectEvents[gSelectedObjectEvent].active) - { - ObjectEventFaceOppositeDirection(&gObjectEvents[gSelectedObjectEvent], - GetPlayerFacingDirection()); - } + ObjectEventFaceOppositeDirection(&gObjectEvents[gSelectedObjectEvent], GetPlayerFacingDirection()); return FALSE; }