Fix server only build

This commit is contained in:
Benau 2018-10-06 01:12:39 +08:00
parent 68916b0adf
commit 697af6b08c

View File

@ -878,6 +878,7 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin)
*/ */
void RaceGUIBase::drawPlayerIcon(AbstractKart *kart, int x, int y, int w) void RaceGUIBase::drawPlayerIcon(AbstractKart *kart, int x, int y, int w)
{ {
#ifndef SERVER_ONLY
video::ITexture *icon = video::ITexture *icon =
kart->getKartProperties()->getIconMaterial()->getTexture(); kart->getKartProperties()->getIconMaterial()->getTexture();
@ -1029,6 +1030,7 @@ void RaceGUIBase::drawPlayerIcon(AbstractKart *kart, int x, int y, int w)
NULL, true); NULL, true);
} }
} }
#endif
} // drawPlayerIcon } // drawPlayerIcon
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------