1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 22:17:45 +00:00

Updated formatting to be inline with everything else.

This commit is contained in:
Mordred 2017-09-21 23:59:05 +02:00 committed by GitHub
parent c789163cf2
commit d6e35f1c20

View file

@ -69,7 +69,7 @@ enum GmCommand
Mp = 0x0065, Mp = 0x0065,
Tp = 0x0066, Tp = 0x0066,
Gp = 0x0067, Gp = 0x0067,
EXP = 0x0068, Exp = 0x0068,
Item = 0x00C8, Item = 0x00C8,
Gil = 0x00C9, Gil = 0x00C9,
@ -190,10 +190,10 @@ void Core::Network::GameConnection::gm1Handler( const Packets::GamePacket& inPac
pPlayer->sendNotice( "Gp for " + targetPlayer->getName() + " was set to " + std::to_string( param1 ) ); pPlayer->sendNotice( "Gp for " + targetPlayer->getName() + " was set to " + std::to_string( param1 ) );
break; break;
} }
case GmCommand::EXP: case GmCommand::Exp:
{ {
targetPlayer->gainExp(param1); targetPlayer->gainExp( param1 );
pPlayer->sendNotice(std::to_string(param1) + " EXP was added to " + targetPlayer->getName()); pPlayer->sendNotice( std::to_string( param1 ) + " Exp was added to " + targetPlayer->getName() );
break; break;
} }
case GmCommand::Sex: case GmCommand::Sex: