summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/tmwa/playerhandler.cpp2
-rw-r--r--src/net/tmwa/sp.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index d9f391853..33481d85a 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -408,7 +408,7 @@ void PlayerHandler::setStat(Net::MessageIn &msg,
case Sp::JOB:
PlayerInfo::setStatBase(Attributes::JOB, base);
break;
- case 500:
+ case Sp::GM_LEVEL:
localPlayer->setGMLevel(base);
break;
diff --git a/src/net/tmwa/sp.h b/src/net/tmwa/sp.h
index f1c8a3a19..01a552ea5 100644
--- a/src/net/tmwa/sp.h
+++ b/src/net/tmwa/sp.h
@@ -69,7 +69,9 @@ namespace Sp
FLEE_MOD = 51,
CRIT = 52,
ATTACK_DELAY = 53,
- JOB = 55
+ JOB = 55,
+
+ GM_LEVEL = 500
};
} // namespace Sp