diff options
| author | theo3 <arisstephenson2@gmail.com> | 2021-02-28 16:54:28 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2021-02-28 17:04:49 -0800 |
| commit | e3ee1058bb05edd47321a5554995a1bc78b42289 (patch) | |
| tree | 4284940e28d2c44940dee10bfa352fcd3bee5b1b /src/script.c | |
| parent | 6596831a6bff9638c00baf7d81632d6ed1ed7e02 (diff) | |
create object enum and update entity type struct
Diffstat (limited to 'src/script.c')
| -rw-r--r-- | src/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
