diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-01-30 02:11:16 +0200 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-01-30 02:11:16 +0200 |
| commit | 64c56499f98b2dfa91a1da9b7ea49357bb3a1fd2 (patch) | |
| tree | 710380c3b2ee411719a73540b67625297cf300a2 /src/enemy/octorok.c | |
| parent | 40dd696e1df6670f753406748189c508be6afbd7 (diff) | |
Use projectile enum when possible
Diffstat (limited to 'src/enemy/octorok.c')
| -rw-r--r-- | src/enemy/octorok.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/octorok.c b/src/enemy/octorok.c index f94b4743..6247a349 100644 --- a/src/enemy/octorok.c +++ b/src/enemy/octorok.c @@ -128,7 +128,7 @@ void Octorok_Move(Entity* this) { void Octorok_ShootNut(Entity* this) { GetNextFrame(this); if (this->frame & 1) { - Entity* ent = CreateProjectileWithParent(this, 1, 0); + Entity* ent = CreateProjectileWithParent(this, ROCK_PROJECTILE, 0); if (ent) { const s8* off; ent->direction = this->direction; |
