Quellcode durchsuchen

Follow up to 083cf5d

Fixed a compilate error when renewal aspd calculation was disabled.
Fixes #284
Lemongrass3110 vor 10 Jahren
Ursprung
Commit
12a0b0533b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;