Explorar o código

Follow up to 083cf5d

Fixed a compilate error when renewal aspd calculation was disabled.
Fixes #284
Lemongrass3110 %!s(int64=10) %!d(string=hai) anos
pai
achega
12a0b0533b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/status.c

+ 1 - 1
src/map/status.c

@@ -4508,7 +4508,7 @@ void status_calc_bl_main(struct block_list *bl, /*enum scb_flag*/int flag)
 	if(flag&SCB_ASPD) {
 		int amotion;
 		if ( bl->type&BL_HOM ) {
-#ifdef RENEWAL
+#ifdef RENEWAL_ASPD
 			amotion = ((TBL_HOM*)bl)->homunculusDB->baseASPD;
 			amotion = amotion - amotion * status_get_homdex(bl) / 1000 - status_get_homagi(bl) * amotion / 250;
 			amotion = (amotion * status_calc_aspd(bl, sc, 1) + status_calc_aspd(bl, sc, 2)) / - 100 + amotion;