Core/Entities: Missing change from previous commit
Calling UpdateObjectVisibility() will make sure that the semi-far teleports (those where the destination position is not in direct sight) will work correctly.
This commit is contained in:
1 parent
143340b38c
commit
24466d721c
1 file changed
+1
@@ -17327,6 +17327,7 @@ void Unit::NearTeleportTo(float x, float y, float z, float orientation, bool cas
|
||||
UpdatePosition(x, y, z, orientation, true);
|
||||
Position pos; // dummy, not used for creatures.
|
||||
SendTeleportPacket(pos);
|
||||
UpdateObjectVisibility();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user