mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 13:37:08 +00:00
[8719] More early detection possible crash sources at object deletion.
* If object still in world at delete * If object still listed in client update queue Possible with this crash reports will more informative and let find porblem.
This commit is contained in:
parent
d7ae5e3af0
commit
e79aa4dee2
3 changed files with 21 additions and 12 deletions
|
|
@ -129,8 +129,7 @@ class MANGOS_DLL_SPEC Object
|
|||
virtual void RemoveFromWorld()
|
||||
{
|
||||
// if we remove from world then sending changes not required
|
||||
if(m_uint32Values)
|
||||
ClearUpdateMask(true);
|
||||
ClearUpdateMask(true);
|
||||
m_inWorld = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue