From c97781e85a265f18f4dd451f3ec119bd0e0c9dda Mon Sep 17 00:00:00 2001 From: amibu Date: Sun, 1 Oct 2017 01:23:44 +0200 Subject: [PATCH] More stuff i forgot --- src/servers/Server_Common/Common.h | 6 +++--- .../Server_Zone/Network/Handlers/GMCommandHandlers.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/servers/Server_Common/Common.h b/src/servers/Server_Common/Common.h index 190e6b9f..8bcb4a5f 100644 --- a/src/servers/Server_Common/Common.h +++ b/src/servers/Server_Common/Common.h @@ -630,9 +630,9 @@ namespace Core { enum InvincibilityType : uint8_t { - InvincibilityNone = 0, - InvincibilityRefill = 1, - InvincibilityStayAlive = 2, + InvincibilityNone, + InvincibilityRefill, + InvincibilityStayAlive, }; enum struct PlayerStateFlag : uint8_t diff --git a/src/servers/Server_Zone/Network/Handlers/GMCommandHandlers.cpp b/src/servers/Server_Zone/Network/Handlers/GMCommandHandlers.cpp index 97746ed7..36c1949a 100644 --- a/src/servers/Server_Zone/Network/Handlers/GMCommandHandlers.cpp +++ b/src/servers/Server_Zone/Network/Handlers/GMCommandHandlers.cpp @@ -361,7 +361,7 @@ void Core::Network::GameConnection::gm1Handler( const Packets::GamePacket& inPac targetActor->setInvincibilityType( Common::InvincibilityType::InvincibilityRefill ); pPlayer->sendNotice( "Invincibility for " + targetPlayer->getName() + - " was was switched." ); + " was switched." ); break; }