summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-04 01:39:30 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-04 01:39:30 +0300
commit44ef6547161dd3cd2e1bb4053bb5e8619e6dc0d0 (patch)
tree16ef6000be72c8959672d1210e89f595a55925a5 /src/net/eathena
parentb889e7fe2d2b1162bad9cf39831e1becf3d9e480 (diff)
downloadmanaplus-44ef6547161dd3cd2e1bb4053bb5e8619e6dc0d0.tar.gz
manaplus-44ef6547161dd3cd2e1bb4053bb5e8619e6dc0d0.tar.bz2
manaplus-44ef6547161dd3cd2e1bb4053bb5e8619e6dc0d0.tar.xz
manaplus-44ef6547161dd3cd2e1bb4053bb5e8619e6dc0d0.zip
Add support for hightlight attribute in groups.xml
This attribute allow to highlight gm groups based on groups.xml
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/beingrecv.cpp4
-rw-r--r--src/net/eathena/playerrecv.cpp4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 313c2872b..535f65091 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1783,10 +1783,6 @@ void BeingRecv::processBeingAttrs(Net::MessageIn &msg)
dstBeing != localPlayer)
{
dstBeing->setGroupId(groupId);
- if (groupId != 0)
- dstBeing->setGM(true);
- else
- dstBeing->setGM(false);
}
dstBeing->setHorse(mount);
dstBeing->setLanguageId(language);
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp
index d9f85f45b..a85b53c60 100644
--- a/src/net/eathena/playerrecv.cpp
+++ b/src/net/eathena/playerrecv.cpp
@@ -531,10 +531,6 @@ void PlayerRecv::processPlayerAttrs(Net::MessageIn &msg)
return;
localPlayer->setGroupId(groupId);
- if (groupId > 0)
- localPlayer->setGM(true);
- else
- localPlayer->setGM(false);
}
void PlayerRecv::processPlayerStatUpdate7(Net::MessageIn &msg)