diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 512a097ed..0734c0630 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4518,7 +4518,7 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage) if (s_class.job == 23) { if ((i=pc_nextbaseexp(sd))<=0) i=sd->status.base_exp; - if ((j=sd->status.base_exp*1000/i)>=990 && j<=1000) + if (i>0 && (j=sd->status.base_exp*1000/i)>=990 && j<=1000) sd->state.snovice_flag = 4; } |