From 2e6cfd109a8800433bca0d9060d47eadd0cb8734 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 5 Oct 2006 18:10:54 +0000 Subject: - 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 --- src/map/pc.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/map/pc.c') 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; } -- cgit v1.2.3-60-g2f50