typos part 1

This commit is contained in:
DarthArgus
2016-10-01 01:04:05 +00:00
parent 109d4234c9
commit b5d4b8d0b8
2 changed files with 8 additions and 5 deletions
@@ -469,7 +469,7 @@ const Unicode::String DataLookup::normalizeName(const Unicode::String &name) con
}
//--------------------------------------------------------------------
*/
DataLookup::reservationList * DataLookup::getReservationList(uint32 stationId)
{
std::map<uint32, reservationList *>::iterator i = m_reservations.find(stationId);
@@ -414,6 +414,7 @@ void Loader::receiveMessage(const MessageDispatch::Emitter & source, const Messa
{
UNREF(source);
const uint32 messageType = message.getType();
switch (messageType) {
case constcrc("LoadObjectMessage") :
{
@@ -565,20 +566,22 @@ void Loader::handleCSRequest( const DBCSRequestMessage & msg )
{
DEBUG_REPORT_LOG( true, ( "Message:%s\n", msg.getCommand().c_str() ) );
std::string cmd = msg.getCommand();
// TODO : maybe constexpr this one sometime
if( == "get_characters" )
if(cmd == "get_characters" )
{
handleCSGetCharacters( msg );
}
else if( msg.getCommand() == "get_deleted_items" )
else if(cmd == "get_deleted_items" )
{
handleCSGetDeletedItems( msg );
}
else if( msg.getCommand() == "list_structures" )
else if(cmd == "list_structures" )
{
handleCSGetStructures( msg );
}
else if( msg.getCommand() == "get_player_id" )
else if(cmd == "get_player_id" )
{
handleCSGetPlayerId( msg );
}