*Fix broken summon vehicle spells.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-01 22:40:12 -06:00
parent c73cfdd451
commit f548b4a9a0
+2 -1
View File
@@ -488,7 +488,8 @@ Map::Add(T *obj)
DEBUG_LOG("Object %u enters grid[%u,%u]", GUID_LOPART(obj->GetGUID()), cell.GridX(), cell.GridY()); DEBUG_LOG("Object %u enters grid[%u,%u]", GUID_LOPART(obj->GetGUID()), cell.GridX(), cell.GridY());
if(obj->GetTypeId() != TYPEID_UNIT) //something, such as vehicle, needs to be update immediately
//if(obj->GetTypeId() != TYPEID_UNIT)
UpdateObjectVisibility(obj,cell,p); UpdateObjectVisibility(obj,cell,p);
AddNotifier(obj); AddNotifier(obj);