X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcampaign.qh;h=6feb07c4541965366aa850ee8aaf2b984200e253;hb=61bd69dc7a8e218b6beff349fd332eb7ac8a81ae;hp=f5228c269338cd146e6c4656a45044185e59c56b;hpb=ea48961feb50159e05ef56f38b7fd0ebc15cc64e;p=xonotic%2Fxonotic-data.pk3dir.git 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;