From 87f9bae4da0314e97f1a3e38513960998ee4d05d Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 12 May 2015 21:40:18 -0400 Subject: use client version --- src/map/pc.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/map/pc.cpp') 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 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 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; } -- cgit v1.2.3-70-g09d2