Always enable crash checking for network ai

This commit is contained in:
Benau
2020-03-11 15:44:45 +08:00
parent fd4cac7c9d
commit 65cd28f767

View File

@@ -2458,7 +2458,11 @@ void SkiddingAI::checkCrashes(const Vec3& pos )
// If slipstream should be handled actively, trigger overtaking the
// kart which gives us slipstream if slipstream is ready
const SlipStream *slip=m_kart->getSlipstream();
if(m_ai_properties->m_make_use_of_slipstream &&
// Atm network ai always use slipstream because it's a player controller
// underlying
bool use_slipstream =
m_enabled_network_ai || m_ai_properties->m_make_use_of_slipstream;
if(use_slipstream &&
slip->isSlipstreamReady() &&
slip->getSlipstreamTarget())
{