mirror of
https://github.com/zeldaret/tmc
synced 2026-09-01 17:59:51 -04:00
header overhaul
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user