Core/Maps: Changed InstanceSave error message to show also Name & GUID of player and Entry & Name & InstanceId of instance map

This commit is contained in:
Lopin
2011-08-16 15:42:32 +02:00
parent e0d43388af
commit 8ae5750c15
+1 -1
View File
@@ -2489,7 +2489,7 @@ void InstanceMap::PermBindAllPlayers(Player* player)
InstanceSave *save = sInstanceSaveMgr->GetInstanceSave(GetInstanceId()); InstanceSave *save = sInstanceSaveMgr->GetInstanceSave(GetInstanceId());
if (!save) if (!save)
{ {
sLog->outError("Cannot bind players, no instance save available for map!"); sLog->outError("Cannot bind player (GUID: %u, Name: %s), because no instance save is available for instance map (Name: %s, Entry: %u, InstanceId: %u)!", player->GetGUIDLow(), player->GetName(), player->GetMap()->GetMapName(), player->GetMapId(), GetInstanceId());
return; return;
} }