about summary refs log tree commit diff
path: root/src/game/client/components/voting.hpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-10-27 14:38:53 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-10-27 14:38:53 +0000
commit878ede3080ab2cfb627aca505c397d9765052996 (patch)
tree98bff371070e1dca0295f0ca58d64ac4ee8042ce /src/game/client/components/voting.hpp
parent9b99ec0e60b60134e46f2f71d707230948f7db03 (diff)
downloadzcatch-878ede3080ab2cfb627aca505c397d9765052996.tar.gz
zcatch-878ede3080ab2cfb627aca505c397d9765052996.zip
major update with stuff
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);