diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-05-12 21:40:18 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-05-17 14:47:25 -0400 |
commit | 87f9bae4da0314e97f1a3e38513960998ee4d05d (patch) | |
tree | 0e8feeeffa225c00497369c335f6fbf85e766d11 /src/map/pc.cpp | |
parent | febb5f798904915714b49d52fc645cfae2128f07 (diff) | |
download | tmwa-87f9bae4da0314e97f1a3e38513960998ee4d05d.tar.gz tmwa-87f9bae4da0314e97f1a3e38513960998ee4d05d.tar.bz2 tmwa-87f9bae4da0314e97f1a3e38513960998ee4d05d.tar.xz tmwa-87f9bae4da0314e97f1a3e38513960998ee4d05d.zip |
use client version
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r-- | src/map/pc.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 1179792..cb81e29 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -641,7 +641,7 @@ int pc_isequip(dumb_ptr<map_session_data> sd, IOff0 n) *------------------------------------------ */ int pc_authok(AccountId id, int login_id2, - short tmw_version, const CharKey *st_key, const CharData *st_data) + short client_version, const CharKey *st_key, const CharData *st_data) { dumb_ptr<map_session_data> sd = nullptr; @@ -652,7 +652,7 @@ int pc_authok(AccountId id, int login_id2, return 1; sd->login_id2 = login_id2; - sd->tmw_version = tmw_version; + sd->client_version = client_version; sd->status_key = *st_key; sd->status = *st_data; @@ -797,7 +797,8 @@ int pc_authok(AccountId id, int login_id2, pc_calcstatus(sd, 1); // Init Quest Log - clif_sendallquest(sd); + if(sd->client_version >= 2) + clif_sendallquest(sd); return 0; } |