summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-12 19:32:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-12 21:12:24 +0300
commit03948f9bc58477100c61c11651290bee372dab5f (patch)
tree3714e87d59c3bca2ef02d1f405abba24f8bb9757 /src/net/eathena
parentacedb80af76334b0e0acd877d3de0ab8ab46a576 (diff)
downloadplus-03948f9bc58477100c61c11651290bee372dab5f.tar.gz
plus-03948f9bc58477100c61c11651290bee372dab5f.tar.bz2
plus-03948f9bc58477100c61c11651290bee372dab5f.tar.xz
plus-03948f9bc58477100c61c11651290bee372dab5f.zip
Rename gm level into group id in localplayer.cpp
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/beingrecv.cpp2
-rw-r--r--src/net/eathena/playerrecv.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 2166205f6..f6153dee9 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1752,7 +1752,7 @@ void BeingRecv::processBeingAttrs(Net::MessageIn &msg)
if (serverVersion <= 17 &&
dstBeing == localPlayer)
{
- localPlayer->setGMLevel(gmLevel);
+ localPlayer->setGroupId(gmLevel);
}
if (gmLevel != 0)
dstBeing->setGM(true);
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp
index d9674a90e..84dbeb5f3 100644
--- a/src/net/eathena/playerrecv.cpp
+++ b/src/net/eathena/playerrecv.cpp
@@ -488,7 +488,7 @@ void PlayerRecv::processPlayerAttrs(Net::MessageIn &msg)
if (localPlayer == nullptr)
return;
- localPlayer->setGMLevel(gmLevel);
+ localPlayer->setGroupId(gmLevel);
}
} // namespace EAthena