Core/Misc: Fixed build without pch

This commit is contained in:
Shauren committed 2014-09-14 17:29:13 +02:00
1 parent 2a1a294383
commit d72c4085de
12 files changed
+16 -5

No files matched your search

+5 -3
View File
@@ -172,9 +172,11 @@ std::string WorldSession::GetPlayerInfo() const
{
std::ostringstream ss;
ss << "[Player: " << GetPlayerName()
<< " (Guid: " << (_player != NULL ? _player->GetGUID().ToString() : "")
<< ", Account: " << GetAccountId() << ")]";
ss << "[Player: " << GetPlayerName() << " (";
if (_player != NULL)
ss << _player->GetGUID().ToString() << ", ";
ss << "Account: " << GetAccountId() << ")]";
return ss.str();
}