mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[Eluna] Applied a load of missing hooks
This commit is contained in:
parent
253017e2eb
commit
7332173b6e
24 changed files with 462 additions and 14 deletions
|
|
@ -108,6 +108,11 @@ void GameObject::AddToWorld()
|
|||
|
||||
// After Object::AddToWorld so that for initial state the GO is added to the world (and hence handled correctly)
|
||||
UpdateCollisionState();
|
||||
|
||||
#ifdef ENABLE_ELUNA
|
||||
if (!IsInWorld())
|
||||
sEluna->OnAddToWorld(this);
|
||||
#endif /* ENABLE_ELUNA */
|
||||
}
|
||||
|
||||
void GameObject::RemoveFromWorld()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue