summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
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 a5cea128d..04b1ea0ef 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5084,7 +5084,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
{
unsigned int next = pc_nextbaseexp(sd);
if( next == 0 ) next = pc_thisbaseexp(sd);
- if( percent(sd->status.base_exp,next) >= 99 && !map_flag_gvg(sd->bl.m) )
+ if( get_percentage(sd->status.base_exp,next) >= 99 && !map_flag_gvg(sd->bl.m) )
sd->state.snovice_dead_flag = 1;
}