Core/Objects: merged some CreateObject2 related commits and ported some transport changes from 335 branch

This commit is contained in:
Ovahlord committed 2018-07-25 15:58:27 +02:00
1 parent bf68acea1f
commit 6cea6eee77
5 files changed
+59 -26

No files matched your search

+2
View File
@@ -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;
}