1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-22 06:52:03 +00:00

sword -> meleeWeapon (#1147)

This commit is contained in:
Dragorn421 2022-02-21 00:45:12 +01:00 committed by GitHub
parent b9cc31dc74
commit 145b14dbc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 194 additions and 182 deletions

View file

@ -221,7 +221,7 @@ void EnAnubice_Idle(EnAnubice* this, GlobalContext* globalCtx) {
if (this->actor.shape.yOffset > -2.0f) {
this->actor.shape.yOffset = 0.0f;
if (player->swordState != 0) {
if (player->meleeWeaponState != 0) {
this->actionFunc = EnAnubice_SetupShootFireball;
} else if (this->isPlayerOutOfRange) {
this->actor.velocity.y = 0.0f;