summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-05-18 13:24:57 -0500
committerWushin <pasekei@gmail.com>2015-05-18 13:24:57 -0500
commit12b13856ee763ab0ad1b6447cebd004536d16edb (patch)
treec0edd029a188977a277e6a1087e2fe90394eeae0 /src/map/pc.cpp
parent8022aead434e580f4c9556b69aab145d534ddb02 (diff)
parenta94330e0b5916ddecd98c2fca58ca6799c0770c2 (diff)
downloadtmwa-12b13856ee763ab0ad1b6447cebd004536d16edb.tar.gz
tmwa-12b13856ee763ab0ad1b6447cebd004536d16edb.tar.bz2
tmwa-12b13856ee763ab0ad1b6447cebd004536d16edb.tar.xz
tmwa-12b13856ee763ab0ad1b6447cebd004536d16edb.zip
Merge pull request #91 from mekolat/version
check manaplus version
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 1179792..d2b2f44 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;