about summary refs log tree commit diff
path: root/src/game/client/components/voting.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/voting.hpp')
-rw-r--r--src/game/client/components/voting.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/game/client/components/voting.hpp b/src/game/client/components/voting.hpp
index 3341edea..e04e1840 100644
--- a/src/game/client/components/voting.hpp
+++ b/src/game/client/components/voting.hpp
@@ -1,10 +1,6 @@
 #include <game/client/component.hpp>
 #include <game/client/ui.hpp>
-
-extern "C"
-{
-	#include <engine/e_memheap.h>
-}
+#include <engine/e_memheap.h>
 
 class VOTING : public COMPONENT
 {
@@ -38,7 +34,7 @@ public:
 	virtual void on_message(int msgtype, void *rawmsg);
 	virtual void on_render();
 	
-	void render_bars(RECT bars, bool text);
+	void render_bars(CUIRect bars, bool text);
 	
 	void callvote_kick(int client_id);
 	void callvote_option(int option);