summaryrefslogtreecommitdiff
path: root/src/net/tmwa/serverfeatures.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 21:24:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 21:24:09 +0300
commitf91ad9a0c39ae1c537f2769f1fdf4b0a59e8bf91 (patch)
tree2a17b4d8c03215e89ddb00cea1595853fb61dde8 /src/net/tmwa/serverfeatures.cpp
parent00a9e49121dfdd706607ceb35fc4dcba4ffbf80c (diff)
downloadManaVerse-f91ad9a0c39ae1c537f2769f1fdf4b0a59e8bf91.tar.gz
ManaVerse-f91ad9a0c39ae1c537f2769f1fdf4b0a59e8bf91.tar.bz2
ManaVerse-f91ad9a0c39ae1c537f2769f1fdf4b0a59e8bf91.tar.xz
ManaVerse-f91ad9a0c39ae1c537f2769f1fdf4b0a59e8bf91.zip
add server feature haveMonsterAttackRange.
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index e7d35b666..aaba467ac 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -114,4 +114,9 @@ bool ServerFeatures::haveOtherGender() const
return serverVersion >= 5;
}
+bool ServerFeatures::haveMonsterAttackRange() const
+{
+ return serverVersion > 0;
+}
+
} // namespace TmwAthena