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:
parent
b9cc31dc74
commit
145b14dbc4
24 changed files with 194 additions and 182 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue