summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/itemdb.cpp4
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;