summaryrefslogtreecommitdiff
path: root/src/emap/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/status.c')
-rw-r--r--src/emap/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/status.c b/src/emap/status.c
index f6f0a51..29721fc 100644
--- a/src/emap/status.c
+++ b/src/emap/status.c
@@ -110,7 +110,7 @@ int estatus_calc_pc__post(int retVal,
if (!sd->state.permanent_speed)
{
- const int idx = pc->class2idx(sd->status.class_);
+ const int idx = pc->class2idx(sd->status.class);
sd->base_status.speed = class_move_speed[idx];
}
return retVal;