From 9f69bb501089af16caf2ae25bebe691edd74963a Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sun, 9 Mar 2025 17:46:21 +0100 Subject: [PATCH] Update src/dungeon_util_1.c Co-authored-by: Seth Barberee --- src/dungeon_util_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dungeon_util_1.c b/src/dungeon_util_1.c index 609b008ab..33bca699a 100644 --- a/src/dungeon_util_1.c +++ b/src/dungeon_util_1.c @@ -442,7 +442,7 @@ bool8 sub_8085B80(struct_8085B80 *a0) } a0[i].unk8 = unkCPtr[2]; a0[i].unkC = unkCPtr; - enInfo->action.direction = *(u8 *)unkCPtr & DIRECTION_MASK; + enInfo->action.direction = unkCPtr[0] & DIRECTION_MASK; sub_806CDD4(entity, 0, (int)*unkCPtr); }