From 201955ea052a5188f2e59bdcdbf6c52ff158ee66 Mon Sep 17 00:00:00 2001 From: theo3 Date: Sat, 30 Dec 2023 20:05:32 -0800 Subject: create enemy struct and enemy flags --- src/object/mulldozerSpawnPoint.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/object/mulldozerSpawnPoint.c') 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; } } -- cgit v1.2.3