diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-05 18:10:54 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-05 18:10:54 +0000 |
commit | 2e6cfd109a8800433bca0d9060d47eadd0cb8734 (patch) | |
tree | 2f31b30e5f415d9d6403176911dc6a9dbe85cc07 /src/map/pc.c | |
parent | 63efe8b1c659a3b1491321bbfbd0d1731daf8e74 (diff) | |
download | hercules-2e6cfd109a8800433bca0d9060d47eadd0cb8734.tar.gz hercules-2e6cfd109a8800433bca0d9060d47eadd0cb8734.tar.bz2 hercules-2e6cfd109a8800433bca0d9060d47eadd0cb8734.tar.xz hercules-2e6cfd109a8800433bca0d9060d47eadd0cb8734.zip |
- skill_blown will now trigger on-touch npcs on the landing tile.
- Max trade distance has been reduced from 5 to 2.
- Undisguising will now resend the cart-contents.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8940 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 7808bdd9c..a37af8273 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1139,6 +1139,12 @@ int pc_disguise(struct map_session_data *sd, int class_) { status_set_viewdata(&sd->bl, class_); clif_changeoption(&sd->bl); clif_spawn(&sd->bl); + if (class_ == sd->status.class_ && pc_iscarton(sd)) + { //It seems the cart info is lost on undisguise. + clif_cartlist(sd); + clif_updatestatus(sd,SP_CARTINFO); + } + return 1; } |