diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/homunculus.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c index 6e9ce58b6..026b9a86c 100644 --- a/src/map/homunculus.c +++ b/src/map/homunculus.c @@ -471,15 +471,12 @@ int homunculus_gainexp(struct homun_data *hd,unsigned int exp) { if(hd->homunculus.vaporize) return 1; - + if((htype = homun->class2type(hd->homunculus.class_)) == -1) { ShowError("homunculus_gainexp: Invalid class %d. \n", hd->homunculus.class_); return 0; } - if( !hd->exp_next || hd->homunculus.exp < hd->exp_next ) - return 0; - switch( htype ) { case HT_REG: case HT_EVO: |