Core/Arena: Fixed compile on gcc 4.5 and possible runtime crashes on other versions of this compiler

This commit is contained in:
Shauren
2011-04-06 16:59:30 +02:00
parent 433f988cc9
commit 05394e01c6

View File

@@ -185,7 +185,7 @@ bool ArenaTeam::AddMember(const uint64& playerGuid)
player->SetArenaTeamInfoField(GetSlot(), ARENA_TEAM_MEMBER, 1);
}
sLog->outArena("Player: %s [GUID: %u] joined arena team type: %u [Id: %u].", playerName, playerGuid, GetType(), GetId());
sLog->outArena("Player: %s [GUID: %u] joined arena team type: %u [Id: %u].", playerName.c_str(), playerGuid, GetType(), GetId());
return true;
}