summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-05 01:00:16 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-05 01:00:16 +0000
commit98a0377169df866a6a8b46412b5fde17ca672527 (patch)
treeeda9952012c8d0da59c87f8fb1f0f636a727beb4 /src/map/pc.c
parent95e2157804907751cfaaab0acfcebdca345a8b01 (diff)
downloadhercules-98a0377169df866a6a8b46412b5fde17ca672527.tar.gz
hercules-98a0377169df866a6a8b46412b5fde17ca672527.tar.bz2
hercules-98a0377169df866a6a8b46412b5fde17ca672527.tar.xz
hercules-98a0377169df866a6a8b46412b5fde17ca672527.zip
* Completed the code for SC_LIFEINSURANCE and it's status icon.
- Added the summer_ignorepalette to client.conf. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11359 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 bf999950e..9acfd92a3 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5071,7 +5071,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
if(battle_config.death_penalty_type && sd->state.snovice_dead_flag != 1
&& (sd->class_&MAPID_UPPERMASK) != MAPID_NOVICE // only novices will receive no penalty
&& !map[sd->bl.m].flag.noexppenalty && !map_flag_gvg(sd->bl.m)
- && sd->sc.data[SC_BABY].timer == -1)
+ && sd->sc.data[SC_BABY].timer == -1 && sd->sc.data[SC_LIFEINSURANCE].timer == -1)
{
unsigned int base_penalty =0;
if (battle_config.death_penalty_base > 0) {