summaryrefslogtreecommitdiff
path: root/src/emap/status.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-13 17:42:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-13 17:42:54 +0300
commitcada1361b6225b4bafcab0f54400b24ce74678f6 (patch)
treed81d12f018c5c16c349c76f8b3c62d119cf3b0f0 /src/emap/status.c
parent84e7b04c06143973ca06a165b17e910f6a488bfb (diff)
downloadevol-hercules-cada1361b6225b4bafcab0f54400b24ce74678f6.tar.gz
evol-hercules-cada1361b6225b4bafcab0f54400b24ce74678f6.tar.bz2
evol-hercules-cada1361b6225b4bafcab0f54400b24ce74678f6.tar.xz
evol-hercules-cada1361b6225b4bafcab0f54400b24ce74678f6.zip
Fix plugin after server update.
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;