Просмотр исходного кода

Follow up to b7d3828
* Fixed a compile error.

aleos89 7 лет назад
Родитель
Сommit
6411a1d4ff
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/map/status.cpp

+ 1 - 1
src/map/status.cpp

@@ -2354,7 +2354,7 @@ int status_base_amotion_pc(struct map_session_data* sd, struct status_data* stat
 	amotion = job_info[classidx].aspd_base[sd->weapontype1]; // Single weapon
 	if (sd->status.shield)
 		amotion += job_info[classidx].aspd_base[MAX_WEAPON_TYPE];
-	else if (sd->weapontyp2)
+	else if (sd->weapontype2)
 		amotion += job_info[classidx].aspd_base[sd->weapontype2] / 4; // Dual-wield
 
 	switch(sd->status.weapon) {