From aaaba4f4039f3643d1a040dfe1c9715be49371e2 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 25 Sep 2008 12:23:44 +0000 Subject: continued on the voting --- src/game/client/components/voting.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/client/components/voting.hpp') diff --git a/src/game/client/components/voting.hpp b/src/game/client/components/voting.hpp index 6f518d10..e5338d10 100644 --- a/src/game/client/components/voting.hpp +++ b/src/game/client/components/voting.hpp @@ -29,6 +29,7 @@ public: void vote(int v); // -1 = no, 1 = yes + int seconds_left() { return (closetime - time_get())/time_freq(); } bool is_voting() { return closetime != 0; } int taken_choice() const { return voted; } const char *vote_description() const { return description; } -- cgit 1.4.1