entity.c refactoring and function naming

This commit is contained in:
theo3
2020-08-19 18:57:17 -07:00
parent 6b51df9908
commit 78f629ecc3
97 changed files with 395 additions and 447 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#include "entity.h"
extern Entity* GetEmptyEntity();
extern void sub_0805EA2C(Entity*, u8);
extern void AppendEntityToList(Entity*, u8);
Entity* CreateObject(u32 subtype, u32 param1, u32 param2)
@@ -15,7 +15,7 @@ Entity* CreateObject(u32 subtype, u32 param1, u32 param2)
(newEnt->entityType).subtype = subtype;
(newEnt->entityType).form = param1;
(newEnt->entityType).parameter = param2;
sub_0805EA2C(newEnt, 6);
AppendEntityToList(newEnt, 6);
}
return newEnt;
}