Small cleanup

This commit is contained in:
aleos 2020-08-13 11:24:20 -04:00
parent 55cef01a39
commit 039645edfe
2 changed files with 3 additions and 3 deletions

View File

@ -19255,7 +19255,7 @@ static void clif_loadConfirm( struct map_session_data *sd ){
/// Enable playing abilities of a player if map is done loading.
/// 0447 (CZ_BLOCKING_PLAY_CANCEL)
void clif_parse_blocking_playcancel( int fd,struct map_session_data *sd ){
void clif_parse_blocking_playcancel( int fd, struct map_session_data *sd ){
nullpo_retv(sd);
if (sd->state.warping == 0)

View File

@ -10775,8 +10775,8 @@ bool pc_unequipitem(struct map_session_data *sd, int n, int flag) {
sd->sc.data[SC_SATURDAYNIGHTFEVER] ||
sd->sc.data[SC__BLOODYLUST] ||
sd->sc.data[SC_KYOUGAKU] ||
(sd->sc.data[SC_PYROCLASTIC] && sd->inventory_data[n]->type == IT_WEAPON) ||
sd->sc.data[SC_BLOCKING_PLAY])) // can't switch weapon
(sd->sc.data[SC_PYROCLASTIC] && sd->inventory_data[n]->type == IT_WEAPON) || // can't switch weapon
sd->sc.data[SC_BLOCKING_PLAY]))
{
clif_unequipitemack(sd,n,0,0);
return false;