]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/campaign.qh
CTF: rename an entity field; remove some redundant code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / campaign.qh
index 487deb9820af2fa049c42421cae4d8ad38317489..6feb07c4541965366aa850ee8aaf2b984200e253 100644 (file)
@@ -1,3 +1,5 @@
+#pragma once
+
 // this must be included BEFORE campaign_common.h to make this a memory saving
 #define CAMPAIGN_MAX_ENTRIES 2
 
@@ -10,6 +12,8 @@ void CampaignPostIntermission(); // must change map
 
 void CampaignLevelWarp(float n);
 
-float campaign_bots_may_start;
-// campaign mode: bots shall spawn but wait for the player to spawn before they do anything
-// in other game modes, this is ignored
+/**
+ * campaign mode: bots shall spawn but wait for the player to spawn before they do anything
+ * in other game modes, this is ignored
+ */
+bool campaign_bots_may_start;