summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-29 20:20:42 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-29 20:20:42 +0000
commit79f89b00e06f7878797d3b9033ae178e18b9277a (patch)
treee9bfb59c72cdd61fae0d5759198b8c00592f4a2b /src/map/mob.c
parent9bb3864452f0478ca2c1bc689e02e4112c27aa66 (diff)
downloadhercules-79f89b00e06f7878797d3b9033ae178e18b9277a.tar.gz
hercules-79f89b00e06f7878797d3b9033ae178e18b9277a.tar.bz2
hercules-79f89b00e06f7878797d3b9033ae178e18b9277a.tar.xz
hercules-79f89b00e06f7878797d3b9033ae178e18b9277a.zip
- Fixed pc_gainexp resetting your exp to 0 rather than adding it in... -.-
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6828 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 677e7fbd3..9b18dcd15 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1791,7 +1791,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if(sd) {
if (sd->expaddrace[status->race])
bonus += sd->expaddrace[status->race];
- bonus += sd->expaddrace[status->mode&MD_BOSS?10:11];
+ bonus += sd->expaddrace[status->mode&MD_BOSS?RC_BOSS:RC_NONBOSS];
}
if (battle_config.pk_mode &&
(int)(md->db->lv - tmpsd[i]->status.base_level) >= 20) //Needed due to unsigned checks