Przeglądaj źródła

Follow up to 267fd3e
* Fixed a compile error.

aleos89 7 lat temu
rodzic
commit
b7d38283d7
1 zmienionych plików z 1 dodań i 1 usunięć
  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->status.weapon2)
+	else if (sd->weapontyp2)
 		amotion += job_info[classidx].aspd_base[sd->weapontype2] / 4; // Dual-wield
 
 	switch(sd->status.weapon) {