Pathing underwater works a lot better now.

This commit is contained in:
KimLS
2016-01-18 15:22:17 -08:00
parent a6a06de994
commit 978650eb1f
5 changed files with 86 additions and 24 deletions
+7 -1
View File
@@ -1398,7 +1398,13 @@ void Mob::SendPosUpdate(uint8 iSendToSelf) {
{
m_pos_update_speed = pRunAnimSpeed;
m_pos_update_heading = GetHeading();
entity_list.QueueCloseClients(this, &app, (iSendToSelf == 0), 1000, nullptr, false);
if (IsBoat()) {
entity_list.QueueClients(this, &app, (iSendToSelf == 0), false);
}
else {
entity_list.QueueCloseClients(this, &app, (iSendToSelf == 0), 1000, nullptr, false);
}
m_pos_update_timer.Start();
}
}