diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
commit | 616ab2676cc932ab59152c510d584c429090987a (patch) | |
tree | 9184b8836b51a073f67ee60a46043084687207a7 /src/net/tmwa/charserverhandler.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | mv-616ab2676cc932ab59152c510d584c429090987a.tar.gz mv-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 mv-616ab2676cc932ab59152c510d584c429090987a.tar.xz mv-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index d386206aa..a6c7ab178 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -280,11 +280,11 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot, outMsg.writeInt8(static_cast<int8_t>(hairColor), "hair color"); outMsg.writeInt8(0, "unused"); outMsg.writeInt8(static_cast<int8_t>(hairstyle), "hair style"); - if (Net::getServerFeatures()->haveLookSelection()) + if (serverFeatures->haveLookSelection()) outMsg.writeInt8(look, "look"); else outMsg.writeInt8(0, "unused"); - if (Net::getServerFeatures()->haveRaceSelection()) + if (serverFeatures->haveRaceSelection()) outMsg.writeInt8(race, "class"); } |