Core/Objects: ported master branch handling for properly destroying objects via out of range and destroy object opcode

# Conflicts:
#	src/server/game/Entities/Creature/Creature.cpp
This commit is contained in:
Shauren authored and Ovahlord committed 2022-02-02 16:24:42 +01:00
1 parent 284b2a23eb
commit f2b4f2208e
10 files changed
+43 -16

No files matched your search

@@ -164,10 +164,7 @@ void DynamicObject::Update(uint32 p_time)
void DynamicObject::Remove()
{
if (IsInWorld())
{
RemoveFromWorld();
AddObjectToRemoveList();
}
}
void DynamicObject::BuildValuesUpdate(uint8 updateType, ByteBuffer* data, Player* target) const