Fix server only build
This commit is contained in:
parent
68916b0adf
commit
697af6b08c
@ -878,6 +878,7 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin)
|
||||
*/
|
||||
void RaceGUIBase::drawPlayerIcon(AbstractKart *kart, int x, int y, int w)
|
||||
{
|
||||
#ifndef SERVER_ONLY
|
||||
video::ITexture *icon =
|
||||
kart->getKartProperties()->getIconMaterial()->getTexture();
|
||||
|
||||
@ -1029,6 +1030,7 @@ void RaceGUIBase::drawPlayerIcon(AbstractKart *kart, int x, int y, int w)
|
||||
NULL, true);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
} // drawPlayerIcon
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user