X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fcampaign.qh;h=6feb07c4541965366aa850ee8aaf2b984200e253;hp=f5228c269338cd146e6c4656a45044185e59c56b;hb=c276d688b45028e2b57f4505bd4f58342f11309a;hpb=6dc9591eba337374f2b4348a6a6deaa1cb6887d0 diff --git a/qcsrc/server/campaign.qh b/qcsrc/server/campaign.qh index f5228c269..6feb07c45 100644 --- a/qcsrc/server/campaign.qh +++ b/qcsrc/server/campaign.qh @@ -1,5 +1,4 @@ -#ifndef CAMPAIGN_H -#define CAMPAIGN_H +#pragma once // this must be included BEFORE campaign_common.h to make this a memory saving #define CAMPAIGN_MAX_ENTRIES 2 @@ -13,7 +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 -#endif +/** + * 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;