Fixes pre-renewal duet dancing (#7160)

* Fixes #7134.
* Resolves an issue where duet songs resulted in the partner not being able to move when canceling the song early.
Thanks to @hnomkeng!
This commit is contained in:
Aleos 2022-08-05 10:02:15 -04:00 committed by GitHub
parent cda284f123
commit 724257ee1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5205,7 +5205,7 @@ void status_calc_state( struct block_list *bl, struct status_change *sc, std::bi
|| (sc->data[SC_FEAR] && sc->data[SC_FEAR]->val2 > 0)
|| (sc->data[SC_SPIDERWEB] && sc->data[SC_SPIDERWEB]->val1)
|| (sc->data[SC_HIDING] && (bl->type != BL_PC || (pc_checkskill(BL_CAST(BL_PC,bl),RG_TUNNELDRIVE) <= 0)))
|| (sc->data[SC_DANCING] && sc->data[SC_DANCING]->val4 && (
|| (sc->data[SC_DANCING] && (
#ifndef RENEWAL
!sc->data[SC_LONGING] ||
#endif