X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcampaign.qh;h=6feb07c4541965366aa850ee8aaf2b984200e253;hb=c5fcf672c473edef7139d4250398184b8ae17224;hp=b107729efb783e38b6524affda61f1857f8e86c2;hpb=ef5d72bcd06c2c1380e63fe900aafbca20153d02;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/campaign.qh b/qcsrc/server/campaign.qh index b107729ef..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 \ No newline at end of file +/** + * 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;