header overhaul

This commit is contained in:
theo3
2021-12-20 02:02:33 -08:00
parent 0d5eae8696
commit 6cff332e57
233 changed files with 692 additions and 943 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const EnemyDefinition* GetEnemyDefinition(Entity* entity) {
}
bool32 EnemyInit(Entity* this) {
if ((this->flags & 1) == 0) {
if ((this->flags & ENT_DID_INIT) == 0) {
const EnemyDefinition* definition = GetEnemyDefinition(this);
if (LoadEnemySprite(this, definition) == FALSE) {
return FALSE;