Fix #3309
This commit is contained in:
parent
e14ea99acd
commit
bd6492f5cf
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user