From e3ee1058bb05edd47321a5554995a1bc78b42289 Mon Sep 17 00:00:00 2001 From: theo3 Date: Sun, 28 Feb 2021 16:54:28 -0800 Subject: create object enum and update entity type struct --- src/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script.c') diff --git a/src/script.c b/src/script.c index a7427cde..494e0ae5 100644 --- a/src/script.c +++ b/src/script.c @@ -389,7 +389,7 @@ void sub_0807DDE4(Entity* entity) { loopVar = loopVar ^ switchVar; switch (switchVar) { case 2: - if (entity->entityType.type == 7) { + if (entity->kind == 7) { sub_0806ED78(entity); } else { sub_0800445C(entity); -- cgit v1.2.3