diff options
| author | theo3 <arisstephenson2@gmail.com> | 2020-08-19 19:09:31 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2020-08-19 19:09:31 -0700 |
| commit | e40ceb75a8a8ec3f995195ed6de151f0d652c343 (patch) | |
| tree | a6aa6329319631d0fe5a56479ec7d99792cfa527 /src | |
| parent | 1e8334a6e96b8497d286a5c806c3d14b412b47ba (diff) | |
more renaming
Diffstat (limited to 'src')
| -rw-r--r-- | src/createEntity.c | 4 | ||||
| -rw-r--r-- | src/entity.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/createEntity.c b/src/createEntity.c index 7bcb0bea..c3589c37 100644 --- a/src/createEntity.c +++ b/src/createEntity.c @@ -3,7 +3,7 @@ // #include "global.h" // extern Entity * FindEntityBySubtype(u32, u32); -// extern Entity * GetEmptyEntityAny(); +// extern Entity * GetEmptyEntityByType(); // extern void sub_0804AEB0(Entity *, EntityData *); // extern u32 sub_0804AF0C(Entity *, EntityData *); // extern void sub_08016A30(Entity *); @@ -21,7 +21,7 @@ // entity = NULL; // } // else { -// entity = GetEmptyEntityAny(); //Get empty entity +// entity = GetEmptyEntityByType(); //Get empty entity // if (entity != NULL) { // (entity->entityType).type = type; // (entity->entityType).subtype = param_1->entitySubtype; diff --git a/src/entity.c b/src/entity.c index 0f7f16d3..e63ea1a0 100644 --- a/src/entity.c +++ b/src/entity.c @@ -27,7 +27,7 @@ OtherEntity* GetEmptyManager(); typedef void* (*Getter)(void); -void* GetEmptyEntityAny(int type) { +void* GetEmptyEntityByType(int type) { Getter getter = NULL; if (type == 9) { getter = (Getter)GetEmptyManager; |
