Core/Entities: add extra use of UPDATETYPE_CREATE_OBJECT2
Port From (https://github.com/TrinityCore/TrinityCore/commit/044110d42366c3e91007add3a2aa4bd02cbe7d2c)
This commit is contained in:
@@ -611,7 +611,9 @@ namespace Game.Maps
|
||||
|
||||
//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