diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-23 12:21:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-23 17:36:25 +0300 |
commit | 4c57a567eec8b3df0b0009b5520d647cccb83338 (patch) | |
tree | 6677639ab67b1209532d20d0ebffa52e4227cdc8 /src/client.cpp | |
parent | a685e41954590525f5a9f215dbd37a286ae2bd37 (diff) | |
download | plus-4c57a567eec8b3df0b0009b5520d647cccb83338.tar.gz plus-4c57a567eec8b3df0b0009b5520d647cccb83338.tar.bz2 plus-4c57a567eec8b3df0b0009b5520d647cccb83338.tar.xz plus-4c57a567eec8b3df0b0009b5520d647cccb83338.zip |
Add support for protecting items.
Protected item cant be selled, traded, dropped, used.
Protect/unprotect item can be from context menu.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 029c9c417..54c7d06e9 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1082,6 +1082,7 @@ int Client::gameExec() mServerName = mCurrentServer.hostname; initServerConfig(mCurrentServer.hostname); initFeatures(); + PlayerInfo::loadData(); loginData.registerUrl = mCurrentServer.registerUrl; if (!mCurrentServer.onlineListUrl.empty()) mOnlineListUrl = mCurrentServer.onlineListUrl; |