diff --git a/src/states_screens/race_gui.cpp b/src/states_screens/race_gui.cpp index be550f867..d348227ad 100644 --- a/src/states_screens/race_gui.cpp +++ b/src/states_screens/race_gui.cpp @@ -795,6 +795,7 @@ void RaceGUI::drawSpeedEnergyRank(const AbstractKart* kart, void RaceGUI::drawMeterTexture(video::ITexture *meter_texture, video::S3DVertex vertices[], unsigned int count) { +#ifndef SERVER_ONLY //Should be greater or equal than the greatest vertices_count used by the meter functions short int index[12]; for(unsigned int i=0; i