summaryrefslogtreecommitdiff
path: root/src/map/chrif.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-12 21:40:18 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-17 14:47:25 -0400
commit87f9bae4da0314e97f1a3e38513960998ee4d05d (patch)
tree0e8feeeffa225c00497369c335f6fbf85e766d11 /src/map/chrif.cpp
parentfebb5f798904915714b49d52fc645cfae2128f07 (diff)
downloadtmwa-87f9bae4da0314e97f1a3e38513960998ee4d05d.tar.gz
tmwa-87f9bae4da0314e97f1a3e38513960998ee4d05d.tar.bz2
tmwa-87f9bae4da0314e97f1a3e38513960998ee4d05d.tar.xz
tmwa-87f9bae4da0314e97f1a3e38513960998ee4d05d.zip
use client version
Diffstat (limited to 'src/map/chrif.cpp')
-rw-r--r--src/map/chrif.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chrif.cpp b/src/map/chrif.cpp
index 8127f20..ce5669e 100644
--- a/src/map/chrif.cpp
+++ b/src/map/chrif.cpp
@@ -867,11 +867,11 @@ void chrif_parse(Session *s)
AccountId id = payload.account_id;
int login_id2 = payload.login_id2;
- short tmw_version = payload.packet_tmw_version;
+ short client_version = payload.packet_client_version;
CharKey st_key = payload.char_key;
CharData st_data = payload.char_data;
pc_authok(id, login_id2,
- tmw_version,
+ client_version,
&st_key, &st_data);
break;
}