diff --git a/src/servers/Server_Zone/DebugCommand/DebugCommandHandler.cpp b/src/servers/Server_Zone/DebugCommand/DebugCommandHandler.cpp index 2940e456..2a3f5273 100644 --- a/src/servers/Server_Zone/DebugCommand/DebugCommandHandler.cpp +++ b/src/servers/Server_Zone/DebugCommand/DebugCommandHandler.cpp @@ -397,14 +397,14 @@ void Core::DebugCommandHandler::add( char * data, Core::Entity::PlayerPtr pPlaye pPlayer->queuePacket(controlPacket);*/ } - else if (subCommand == "unlock") + else if ( subCommand == "unlock" ) { int32_t id; sscanf( params.c_str(), "%d", &id ); pPlayer->learnAction( id ); } - else if (subCommand == "enablecompanion") + else if ( subCommand == "enablecompanion" ) { pPlayer->learnAction( 17 ); } @@ -440,7 +440,7 @@ void Core::DebugCommandHandler::get( char * data, Core::Entity::PlayerPtr pPlaye "subCommand " + subCommand + " params: " + params ); - if( ( subCommand == "pos" ) ) + if( subCommand == "pos" ) { int16_t map_id = g_exdData.m_zoneInfoMap[pPlayer->getCurrentZone()->getId()].map_id; diff --git a/src/servers/Server_Zone/Network/Handlers/GMCommandHandlers.cpp b/src/servers/Server_Zone/Network/Handlers/GMCommandHandlers.cpp index 6cfd80a2..1a8a5e80 100644 --- a/src/servers/Server_Zone/Network/Handlers/GMCommandHandlers.cpp +++ b/src/servers/Server_Zone/Network/Handlers/GMCommandHandlers.cpp @@ -301,7 +301,7 @@ void Core::Network::GameConnection::gm1Handler( const Packets::GamePacket& inPac } case GmCommand::Mount: { - if (param2 == 0) + if ( param2 == 0 ) { for (uint8_t i = 0; i < 255; i++) targetActor->getAsPlayer()->learnMount( i );