diff options
| author | theo3 <arisstephenson2@gmail.com> | 2023-12-30 20:05:32 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2023-12-30 20:05:32 -0800 |
| commit | 201955ea052a5188f2e59bdcdbf6c52ff158ee66 (patch) | |
| tree | 66474a7515b56c90e1d0b94a0a39f42da6677d71 /src/object/mulldozerSpawnPoint.c | |
| parent | 37714644960c56650dd1067b86aafa685eaf01f4 (diff) | |
create enemy struct and enemy flags
Diffstat (limited to 'src/object/mulldozerSpawnPoint.c')
| -rw-r--r-- | src/object/mulldozerSpawnPoint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object/mulldozerSpawnPoint.c b/src/object/mulldozerSpawnPoint.c index 8ba4d3b0..611f77dd 100644 --- a/src/object/mulldozerSpawnPoint.c +++ b/src/object/mulldozerSpawnPoint.c @@ -6,6 +6,7 @@ */ #include "entity.h" #include "sound.h" +#include "enemy.h" void MulldozerSpawnPoint_Init(Entity*); void MulldozerSpawnPoint_Action1(Entity*); @@ -37,6 +38,6 @@ void MulldozerSpawnPoint_Action1(Entity* this) { parent = this->parent; parent->flags = this->timer; parent->spriteSettings.draw = this->subtimer; - ((GenericEntity*)parent)->field_0x6c.HALF.HI &= 0xef; + ((Enemy*)parent)->enemyFlags &= ~EM_FLAG_SUPPORT; } } |
