summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index a9b76a10e..a5b5ce5fc 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -117,7 +117,7 @@ LocalPlayer::LocalPlayer(const BeingId id,
AttributeListener(),
PlayerDeathListener(),
StatListener(),
- mGMLevel(0),
+ mGroupId(0),
mMoveState(0),
mLastTargetX(0),
mLastTargetY(0),
@@ -416,11 +416,11 @@ void LocalPlayer::setAction(const BeingActionT &action,
#endif // USE_MUMBLE
}
-void LocalPlayer::setGMLevel(const int level)
+void LocalPlayer::setGroupId(const int id)
{
- mGMLevel = level;
+ mGroupId = id;
- if (level > 0)
+ if (id > 0)
{
setGM(true);
if (chatWindow != nullptr)