summaryrefslogtreecommitdiff
path: root/src/enemy/torchTrap.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-30 20:05:32 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-30 20:05:32 -0800
commit201955ea052a5188f2e59bdcdbf6c52ff158ee66 (patch)
tree66474a7515b56c90e1d0b94a0a39f42da6677d71 /src/enemy/torchTrap.c
parent37714644960c56650dd1067b86aafa685eaf01f4 (diff)
create enemy struct and enemy flags
Diffstat (limited to 'src/enemy/torchTrap.c')
-rw-r--r--src/enemy/torchTrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/torchTrap.c b/src/enemy/torchTrap.c
index de2e12eb..f0604697 100644
--- a/src/enemy/torchTrap.c
+++ b/src/enemy/torchTrap.c
@@ -122,7 +122,7 @@ void TorchTrap_Reset(TorchTrapEntity* this) {
}
void TorchTrap_CreateProjectile(TorchTrapEntity* this) {
- Entity* proj = CreateProjectileWithParent(super, TORCH_TRAP_PROJECTILE, 0);
+ Entity* proj = EnemyCreateProjectile(super, TORCH_TRAP_PROJECTILE, 0);
if (proj) {
u16 speed = super->speed;
if (super->speed) {