mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[11066] Remove tail whitespaces.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
d5b982cbbe
commit
75b4f75f4d
58 changed files with 170 additions and 170 deletions
|
|
@ -92,7 +92,7 @@ Map* MapManager::CreateMap(uint32 id, const WorldObject* obj)
|
|||
MANGOS_ASSERT(obj);
|
||||
//if(!obj->IsInWorld()) sLog.outError("GetMap: called for map %d with object (typeid %d, guid %d, mapid %d, instanceid %d) who is not in world!", id, obj->GetTypeId(), obj->GetGUIDLow(), obj->GetMapId(), obj->GetInstanceId());
|
||||
Guard _guard(*this);
|
||||
|
||||
|
||||
Map * m = NULL;
|
||||
|
||||
const MapEntry* entry = sMapStore.LookupEntry(id);
|
||||
|
|
@ -136,7 +136,7 @@ Map* MapManager::FindMap(uint32 mapid, uint32 instanceId) const
|
|||
MapMapType::const_iterator iter = i_maps.find(MapID(mapid, instanceId));
|
||||
if(iter == i_maps.end())
|
||||
return NULL;
|
||||
|
||||
|
||||
//this is a small workaround for transports
|
||||
if(instanceId == 0 && iter->second->Instanceable())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue