mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-03 17:19:05 -04:00
unsheathe without slashing (#6216)
This commit is contained in:
@@ -2834,8 +2834,10 @@ s32 Player_UpperAction_Sword(Player* this, PlayState* play) {
|
||||
s32 Player_UpperAction_ChangeHeldItem(Player* this, PlayState* play) {
|
||||
if (LinkAnimation_Update(play, &this->upperSkelAnime) ||
|
||||
((Player_ItemToItemAction(this->heldItemId) == this->heldItemAction) &&
|
||||
(sUseHeldItem =
|
||||
(sUseHeldItem || ((this->modelAnimType != PLAYER_ANIMTYPE_3) && (play->shootingGalleryStatus == 0)))))) {
|
||||
(sUseHeldItem = (sUseHeldItem || GameInteractor_Should(VB_USE_HELD_ITEM_AFTER_CHANGE,
|
||||
((this->modelAnimType != PLAYER_ANIMTYPE_3) &&
|
||||
(play->shootingGalleryStatus == 0)),
|
||||
this))))) {
|
||||
Player_SetUpperActionFunc(this, sItemActionUpdateFuncs[this->heldItemAction]);
|
||||
this->unk_834 = 0;
|
||||
this->idleType = PLAYER_IDLE_DEFAULT;
|
||||
|
||||
Reference in New Issue
Block a user