Core/Movement: Fixed creature movement on transports

This commit is contained in:
Shauren
2013-12-31 14:12:02 +01:00
parent 9a1282aac6
commit 1cdc2e8c2a
3 changed files with 6 additions and 2 deletions
@@ -1556,6 +1556,10 @@ void WorldObject::UpdateGroundPositionZ(float x, float y, float &z) const
void WorldObject::UpdateAllowedPositionZ(float x, float y, float &z) const
{
// TODO: Allow transports to be part of dynamic vmap tree
if (GetTransport())
return;
switch (GetTypeId())
{
case TYPEID_UNIT: