From f9669c2d09328c1be846652473d8787c2bd1783e Mon Sep 17 00:00:00 2001 From: Alayan-stk-2 Date: Thu, 12 Apr 2018 21:17:37 +0200 Subject: [PATCH] Update for new sstreaming characteristics --- src/karts/kart_properties.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/karts/kart_properties.cpp b/src/karts/kart_properties.cpp index c29a1d718..8e63feedf 100644 --- a/src/karts/kart_properties.cpp +++ b/src/karts/kart_properties.cpp @@ -1042,6 +1042,12 @@ float KartProperties::getSlipstreamDuration() const return m_cached_characteristic->getSlipstreamDuration(); } // getSlipstreamDuration +// ---------------------------------------------------------------------------- +float KartProperties::getSlipstreamBaseSpeed() const +{ + return m_cached_characteristic->getSlipstreamBaseSpeed(); +} // getSlipstreamBaseSpeed + // ---------------------------------------------------------------------------- float KartProperties::getSlipstreamLength() const { @@ -1054,6 +1060,12 @@ float KartProperties::getSlipstreamWidth() const return m_cached_characteristic->getSlipstreamWidth(); } // getSlipstreamWidth +// ---------------------------------------------------------------------------- +float KartProperties::getSlipstreamInnerFactor() const +{ + return m_cached_characteristic->getSlipstreamInnerFactor(); +} // getSlipstreamInnerFactor + // ---------------------------------------------------------------------------- float KartProperties::getSlipstreamCollectTime() const { @@ -1199,4 +1211,3 @@ bool KartProperties::getSkidEnabled() const } // getSkidEnabled /* */ -