Fix a real nasty typo that prevented people from using teleports/areatriggers
--HG-- branch : trunk
This commit is contained in:
1 parent
3252836f91
commit
7ba4caf3d0
1 file changed
+1
-1
@@ -299,7 +299,7 @@ bool MapManager::ExistMapAndVMap(uint32 mapid, float x,float y)
|
||||
bool MapManager::IsValidMAP(uint32 mapid)
|
||||
{
|
||||
MapEntry const* mEntry = sMapStore.LookupEntry(mapid);
|
||||
return mEntry && (!mEntry->IsDungeon() || ObjectMgr::GetItemPrototype(mapid));
|
||||
return mEntry && (!mEntry->IsDungeon() || ObjectMgr::GetInstanceTemplate(mapid));
|
||||
// TODO: add check for battleground template
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user