mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Objects: merged some CreateObject2 related commits and ported some transport changes from 335 branch
This commit is contained in:
@@ -680,7 +680,9 @@ bool Map::AddToMap(T* obj)
|
||||
|
||||
//something, such as vehicle, needs to be update immediately
|
||||
//also, trigger needs to cast spell, if not update, cannot see visual
|
||||
obj->SetIsNewObject(true);
|
||||
obj->UpdateObjectVisibilityOnCreate();
|
||||
obj->SetIsNewObject(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user