Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
dd3fb2a2d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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