Sfoglia il codice sorgente

Fixed compiler warning when compiled with #REMODE disabled

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15563 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 anni fa
parent
commit
dd3fb2a2d3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/map/skill.c

+ 1 - 1
src/map/skill.c

@@ -9709,8 +9709,8 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
 		case UNT_APPLEIDUN: //Apple of Idun [Skotlex]
 		{
 			int heal;
-			struct mob_data *md = BL_CAST(BL_MOB, bl);
 #if REMODE
+			struct mob_data *md = BL_CAST(BL_MOB, bl);
 			if( md && md->class_ == MOBID_EMPERIUM )
 				break;
 #endif