*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1316 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -1121,6 +1121,7 @@ struct serveraction
|
||||
{
|
||||
int type, role;
|
||||
bool dedicated;
|
||||
virtual ~serveraction() {}
|
||||
virtual void perform() = 0;
|
||||
virtual bool isvalid() { return true; }
|
||||
};
|
||||
@@ -1205,7 +1206,7 @@ struct voteinfo
|
||||
bool isalive() { return secs > lastsec; }
|
||||
};
|
||||
|
||||
voteinfo *curvote = NULL;
|
||||
static voteinfo *curvote = NULL;
|
||||
|
||||
void checkvotes(bool forceend = false)
|
||||
{
|
||||
|
||||
+2
-1
@@ -5,4 +5,5 @@ struct votedisplayinfo
|
||||
string desc;
|
||||
bool localplayervoted;
|
||||
votedisplayinfo() : owner(NULL), result(VOTE_NEUTRAL), millis(0), localplayervoted(false) { loopi(VOTE_NUM) stats[i] = VOTE_NEUTRAL; }
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user