summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-02-16 23:13:40 -0500
committergumi <git@gumi.ca>2018-02-16 23:21:04 -0500
commitb66d459e69cc169cdafec567ec5da4f27004702d (patch)
tree90b8a220a7e501329449514b7c32c76c1e93ceac /src
parent6ec613787a7c28d744e106955c9746a3571f1a8b (diff)
downloadtmwa-b66d459e69cc169cdafec567ec5da4f27004702d.tar.gz
tmwa-b66d459e69cc169cdafec567ec5da4f27004702d.tar.bz2
tmwa-b66d459e69cc169cdafec567ec5da4f27004702d.tar.xz
tmwa-b66d459e69cc169cdafec567ec5da4f27004702d.zip
send non-hidden GM levels to the client
Diffstat (limited to 'src')
-rw-r--r--src/mmo/ids.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mmo/ids.hpp b/src/mmo/ids.hpp
index 22f5eae..d9a91c9 100644
--- a/src/mmo/ids.hpp
+++ b/src/mmo/ids.hpp
@@ -90,7 +90,7 @@ public:
constexpr
uint16_t get_public_word() const
{
- return (bits == 60 || bits == 99) ? 0x0080 : 0;
+ return ((bits == 1 || bits == 99) || (bits >= 10 && !(bits % 10))) ? bits : 0;
}
constexpr