Selaa lähdekoodia

- Added a missing pair of lines to mob.c which mysteriously vanished on my last commit @.@

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8519 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 vuotta sitten
vanhempi
commit
4120bc9c3b
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/map/mob.c

+ 2 - 1
src/map/mob.c

@@ -1815,11 +1815,12 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
 			zeny=(int) ((md->level+rand()%md->level)*per*bonus/100.);
 			if(md->db->mexp > 0)
 				zeny*=rand()%250;
-		
+		}
 		jper = per;
 
 		if (map[md->bl.m].flag.nobaseexp)
 			base_exp=0; 
+		else {
 			temp = bonus; //Do not alter bonus for the jExp section below.
 			if (map[md->bl.m].bexp != 100)
 				temp = map[md->bl.m].bexp*temp/100;