This commit is contained in:
Benau 2018-06-16 13:55:20 +08:00
parent e14ea99acd
commit bd6492f5cf

View File

@ -2780,7 +2780,8 @@ void Kart::loadData(RaceManager::KartType type, bool is_animated_model)
m_skidmarks = new SkidMarks(*this);
}
if (CVS->isGLSL() && !CVS->isShadowEnabled())
if (CVS->isGLSL() && !CVS->isShadowEnabled() && m_kart_properties
->getShadowMaterial()->getSamplerPath(0) != "unicolor_white")
{
m_shadow = new Shadow(m_kart_properties->getShadowMaterial(), *this);
}