summaryrefslogtreecommitdiff
path: root/src/entity.c
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-03-18 22:09:57 +0100
committerkdx <kikoodx@paranoici.org>2023-03-18 22:09:57 +0100
commit297ee77f926197504f8e0d7d6fcf0bf602cccd66 (patch)
treed45446e07164f5f1521e5aa08dd8450d71f51348 /src/entity.c
parent7fbb779c5f1055461b0f38d83035725ff7cd3b77 (diff)
downloadhyperultra-297ee77f926197504f8e0d7d6fcf0bf602cccd66.tar.gz
don't typedef EntityType enum
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.c b/src/entity.c
index 9b378aa..ef295a7 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -35,7 +35,7 @@ entity_meet(Entity *this, Entity *other)
}
Entity *
-entity_place_meeting(Entity *this, Game *g, EntityType type)
+entity_place_meeting(Entity *this, Game *g, unsigned int type)
{
for (int i = 0; i < MAX_ENTITIES; i++)
if (this != &g->entities[i] && g->entities[i].type == type &&