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/resources/db/itemdb.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | ManaVerse-616ab2676cc932ab59152c510d584c429090987a.tar.gz ManaVerse-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 ManaVerse-616ab2676cc932ab59152c510d584c429090987a.tar.xz ManaVerse-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r-- | src/resources/db/itemdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index ae64ae9c1..b50fc3944 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -673,7 +673,7 @@ static int parseDirectionName(const std::string &name) int id = -1; if (name == "down") { - if (Net::getServerFeatures()->haveEightDirections()) + if (serverFeatures->haveEightDirections()) id = SpriteDirection::DOWN; else id = -2; @@ -692,7 +692,7 @@ static int parseDirectionName(const std::string &name) } else if (name == "up") { - if (Net::getServerFeatures()->haveEightDirections()) + if (serverFeatures->haveEightDirections()) id = SpriteDirection::UP; else id = -3; |