1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

More stuff i forgot

This commit is contained in:
amibu 2017-10-01 01:23:44 +02:00
parent 69348f553b
commit c97781e85a
2 changed files with 4 additions and 4 deletions

View file

@ -630,9 +630,9 @@ namespace Core {
enum InvincibilityType : uint8_t enum InvincibilityType : uint8_t
{ {
InvincibilityNone = 0, InvincibilityNone,
InvincibilityRefill = 1, InvincibilityRefill,
InvincibilityStayAlive = 2, InvincibilityStayAlive,
}; };
enum struct PlayerStateFlag : uint8_t enum struct PlayerStateFlag : uint8_t

View file

@ -361,7 +361,7 @@ void Core::Network::GameConnection::gm1Handler( const Packets::GamePacket& inPac
targetActor->setInvincibilityType( Common::InvincibilityType::InvincibilityRefill ); targetActor->setInvincibilityType( Common::InvincibilityType::InvincibilityRefill );
pPlayer->sendNotice( "Invincibility for " + targetPlayer->getName() + pPlayer->sendNotice( "Invincibility for " + targetPlayer->getName() +
" was was switched." ); " was switched." );
break; break;
} }