Battlegrounds/WSG: Fixed door LoS in Warsong Gulch
Closes #6147 Signed-off-by: Subv <s.v.h21@hotmail.com>
This commit is contained in:
1 parent
b4341413e5
commit
6c5cabcf8b
3 files changed
+6
-8
No files matched your search
@@ -138,7 +138,7 @@ void GameObject::AddToWorld()
|
||||
bool toggledState = GetGoState() == GO_STATE_READY;
|
||||
if (m_model)
|
||||
GetMap()->Insert(*m_model);
|
||||
if ((startOpen && !toggledState) || (!startOpen && toggledState))
|
||||
if (startOpen ^ toggledState)
|
||||
EnableCollision(false);
|
||||
|
||||
WorldObject::AddToWorld();
|
||||
|
||||
Reference in new issue
Block a user