summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-15 16:19:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-15 16:19:44 +0000
commit8c73f381454d08de7399a44cbd480e22e1a8ff1a (patch)
treecb95c693d72729e68eded052275027ff1d6934e0 /src/map/pc.c
parent76de90694832a3e45dbfc806664b2105dd8e61e5 (diff)
downloadhercules-8c73f381454d08de7399a44cbd480e22e1a8ff1a.tar.gz
hercules-8c73f381454d08de7399a44cbd480e22e1a8ff1a.tar.bz2
hercules-8c73f381454d08de7399a44cbd480e22e1a8ff1a.tar.xz
hercules-8c73f381454d08de7399a44cbd480e22e1a8ff1a.zip
- Fixed S. Novice bonus not dispelling when at the moment you die once.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12207 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 83b874a44..218e40e24 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4880,7 +4880,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
//Reset ticks.
sd->hp_loss.tick = sd->sp_loss.tick = sd->hp_regen.tick = sd->sp_regen.tick = 0;
- pc_setglobalreg(sd,"PC_DIE_COUNTER",++sd->die_counter);
+ pc_setglobalreg(sd,"PC_DIE_COUNTER",sd->die_counter+1);
pc_setglobalreg(sd,"killerrid",src?src->id:0);
npc_script_event(sd,NPCE_DIE);