From c72cf74138f3eb4701f12f115e2fcb7c9b9ed78f Mon Sep 17 00:00:00 2001 From: Alayan-stk-2 Date: Tue, 17 Apr 2018 02:16:51 +0200 Subject: [PATCH] Fixes server_only build issue (#3199) --- src/states_screens/race_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) 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