Merge pull request #1816 from LOuroboros/patch-1

Fixed indentation in ScrCmd_faceplayer
This commit is contained in:
GriffinR
2022-11-08 19:07:34 -05:00
committed by GitHub
+1 -4
View File
@@ -1152,10 +1152,7 @@ bool8 ScrCmd_resetobjectsubpriority(struct ScriptContext *ctx)
bool8 ScrCmd_faceplayer(struct ScriptContext *ctx) bool8 ScrCmd_faceplayer(struct ScriptContext *ctx)
{ {
if (gObjectEvents[gSelectedObjectEvent].active) if (gObjectEvents[gSelectedObjectEvent].active)
{ ObjectEventFaceOppositeDirection(&gObjectEvents[gSelectedObjectEvent], GetPlayerFacingDirection());
ObjectEventFaceOppositeDirection(&gObjectEvents[gSelectedObjectEvent],
GetPlayerFacingDirection());
}
return FALSE; return FALSE;
} }