summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp7
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;
}