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; }