summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-29 10:23:11 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-29 10:23:11 +0000
commit3bc63f72702b2863f1439e69c6b5add1009a02c5 (patch)
treebefa8038a634b39fcdac89160da9317b21bb307d /src/map/pc.c
parent089657a99ef08deb2e7202e3d2af6382a2e874f2 (diff)
downloadhercules-3bc63f72702b2863f1439e69c6b5add1009a02c5.tar.gz
hercules-3bc63f72702b2863f1439e69c6b5add1009a02c5.tar.bz2
hercules-3bc63f72702b2863f1439e69c6b5add1009a02c5.tar.xz
hercules-3bc63f72702b2863f1439e69c6b5add1009a02c5.zip
- Applied Mpeg's work on GS
( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt ) - Fixed a syntax error in @showmobs git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8528 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 42b8a0ed1..5516b51ab 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4821,6 +4821,9 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
npc_script_event(sd,NPCE_DIE);
}
+ if ( sd && sd->spiritball && (sd->class_&MAPID_BASEMASK)==MAPID_GUNSLINGER ) // maybe also monks' spiritballs ?
+ pc_delspiritball(sd,sd->spiritball,0);
+
if (src)
switch (src->type) {
case BL_MOB: