X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fround_handler.qc;h=d347fcbaf9be95d010a8af0378795ffe3c9fe315;hb=267283e6a4fd90c816ffb5d588628820499e827c;hp=786635af07e4b145383f91ea9d2d325b8670a3d1;hpb=b834eab77489d98d5d722d67c8a96cf6c3549436;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/round_handler.qc b/qcsrc/server/round_handler.qc index 786635af0..d347fcbaf 100644 --- a/qcsrc/server/round_handler.qc +++ b/qcsrc/server/round_handler.qc @@ -1,5 +1,7 @@ #include "round_handler.qh" +#include +#include #include "campaign.qh" #include "command/vote.qh" #include "../common/util.qh" @@ -76,7 +78,7 @@ void round_handler_Init(float the_delay, float the_count, float the_round_timeli } // NOTE: this is only needed because if round_handler spawns at time 1 -// gamestarttime isn't initialized yet +// game_starttime isn't initialized yet void round_handler_FirstThink(entity this) { round_starttime = max(time, game_starttime) + this.count; @@ -84,7 +86,7 @@ void round_handler_FirstThink(entity this) this.nextthink = max(time, game_starttime); } -void round_handler_Spawn(float() canRoundStart_func, float() canRoundEnd_func, void() roundStart_func) +void round_handler_Spawn(bool() canRoundStart_func, bool() canRoundEnd_func, void() roundStart_func) { if (round_handler) {