*Fix the bug that player sometimes take fall damage when exit vehicle.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-15 22:48:52 -05:00
1 parent f2a22871a2
commit 9f3d1a4a3b
1 file changed
+1
+1
View File
@@ -14643,6 +14643,7 @@ void Unit::ExitVehicle()
{
//((Player*)this)->SetClientControl(this, 1);
((Player*)this)->SendTeleportAckMsg();
((Player*)this)->SetFallInformation(0, GetPositionZ());
}
WorldPacket data;
BuildHeartBeatMsg(&data);