From 6411a1d4ffb0f6bdeca7ba69505d51632b945d39 Mon Sep 17 00:00:00 2001 From: aleos89 Date: Tue, 20 Feb 2018 13:26:16 -0500 Subject: [PATCH] Follow up to b7d3828 * Fixed a compile error. --- src/map/status.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/status.cpp b/src/map/status.cpp index e32b6583a4..d7c06f31a1 100644 --- a/src/map/status.cpp +++ b/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) {