summaryrefslogtreecommitdiff
path: root/src/projectile/arrowProjectile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectile/arrowProjectile.c')
-rw-r--r--src/projectile/arrowProjectile.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/projectile/arrowProjectile.c b/src/projectile/arrowProjectile.c
index c47f0414..eeba0cf0 100644
--- a/src/projectile/arrowProjectile.c
+++ b/src/projectile/arrowProjectile.c
@@ -6,9 +6,14 @@
*/
#include "collision.h"
#include "enemy.h"
+#include "sound.h"
+#include "effects.h"
+#include "projectile.h"
#include "entity.h"
-#include "functions.h"
#include "object.h"
+#include "asm.h"
+#include "physics.h"
+#include "player.h"
extern void (*const ArrowProjectile_Functions[])(Entity*);
extern void (*const ArrowProjectile_Actions[])(Entity*);
@@ -95,7 +100,7 @@ void ArrowProjectile_Action3(Entity* this) {
void ArrowProjectile_Action4(Entity* this) {
if (GravityUpdate(this, Q_8_8(40.0)) == 0) {
- CreateDust(this);
+ CreateDeathFx(this);
DeleteThisEntity();
} else {
if (--this->timer == 0) {