diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-01-29 15:12:23 +0200 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-01-29 15:12:23 +0200 |
| commit | 578fb3d1d86e141fa413f534cf633eb2779ce93b (patch) | |
| tree | a8e255d788b0731505e8e2d74a68ed5422f98038 /src/object/fileScreenObjects.c | |
| parent | fd9049f59801a77ced44d85329ee871fda031d22 (diff) | |
Using EntityKind enum in various places
Diffstat (limited to 'src/object/fileScreenObjects.c')
| -rw-r--r-- | src/object/fileScreenObjects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/fileScreenObjects.c b/src/object/fileScreenObjects.c index c3d217f6..d2af86c9 100644 --- a/src/object/fileScreenObjects.c +++ b/src/object/fileScreenObjects.c @@ -322,7 +322,7 @@ static Entity* sub_0808EC80(int form) { Entity* entityA = (Entity*)&gEntityLists[6]; Entity* entityB = entityA->next; while (entityB != entityA) { - if ((entityB->kind == 0x6 && entityB->id == 0x48) && form == entityB->type) { + if ((entityB->kind == OBJECT && entityB->id == 0x48) && form == entityB->type) { return entityB; } entityB = entityB->next; |
