Follow up to b7d3828

* Fixed a compile error.
This commit is contained in:
aleos89 2018-02-20 13:26:16 -05:00
parent b7d38283d7
commit 6411a1d4ff

View File

@ -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 amotion = job_info[classidx].aspd_base[sd->weapontype1]; // Single weapon
if (sd->status.shield) if (sd->status.shield)
amotion += job_info[classidx].aspd_base[MAX_WEAPON_TYPE]; 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 amotion += job_info[classidx].aspd_base[sd->weapontype2] / 4; // Dual-wield
switch(sd->status.weapon) { switch(sd->status.weapon) {