diff options
author | Led Mitz <smoothshifter@tuta.io> | 2023-11-27 13:47:33 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-11-27 13:47:33 +0000 |
commit | 70c2692d38e6fac1c230a51c283438de11a61ce1 (patch) | |
tree | f1b3713ad5ce48f48e688bb627edc51af067eb0d /src/map/chrif.cpp | |
parent | 4d23200c606b5c96877384f5ab2820a6cfcadda8 (diff) | |
parent | 78ad8bcab7a0d29200e8cd47c1d759d0eeb15a72 (diff) | |
download | tmwa-70c2692d38e6fac1c230a51c283438de11a61ce1.tar.gz tmwa-70c2692d38e6fac1c230a51c283438de11a61ce1.tar.bz2 tmwa-70c2692d38e6fac1c230a51c283438de11a61ce1.tar.xz tmwa-70c2692d38e6fac1c230a51c283438de11a61ce1.zip |
Merge branch 'activity_checks' into 'master'
activity checks and status cleanup
See merge request legacy/tmwa!252
Diffstat (limited to 'src/map/chrif.cpp')
-rw-r--r-- | src/map/chrif.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.cpp b/src/map/chrif.cpp index 972bfd0..52c311b 100644 --- a/src/map/chrif.cpp +++ b/src/map/chrif.cpp @@ -587,7 +587,7 @@ void chrif_changedsex(Session *, const Packet_Fixed<0x2b0d>& fixed) && bool(sd->status.inventory[i].equip)) pc_unequipitem(sd, i, CalcStatus::LATER); } - pc_calcstatus(sd, 0); + pc_calcstatus(sd, (int)CalcStatusKind::NORMAL_RECALC); // save character chrif_save(sd); sd->login_id1++; // change identify, because if player come back in char within the 5 seconds, he can change its characters |