summaryrefslogtreecommitdiff
path: root/src/enemy/torchTrap.c
diff options
context:
space:
mode:
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) {