X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fbot%2Fdefault%2Fbot.qh;h=98b2ae3df78fb4d970ffd60528d65339b834f687;hb=e3b57e7c812da74f0aed7c8b1b50d6760a51b357;hp=ea37ccf8ff6d417833b365aaad3b4e20ecaff1a3;hpb=5c01c086b09002135f17404f9b542823feede29e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/default/bot.qh b/qcsrc/server/bot/default/bot.qh index ea37ccf8f..98b2ae3df 100644 --- a/qcsrc/server/bot/default/bot.qh +++ b/qcsrc/server/bot/default/bot.qh @@ -16,7 +16,7 @@ const int AI_STATUS_JETPACK_FLYING = BIT(9); const int AI_STATUS_JETPACK_LANDING = BIT(10); const int AI_STATUS_STUCK = BIT(11); // Cannot reach any goal -.float isbot; // true if this client is actually a bot +.bool isbot; // true if this client is actually a bot .int aistatus; // Skill system @@ -76,7 +76,6 @@ float botframe_spawnedwaypoints; float botframe_nextthink; float botframe_nextdangertime; float bot_cvar_nextthink; -float bot_ignore_bots; // let bots not attack other bots (only works in non-teamplay) int _content_type; #define IN_LAVA(pos) (_content_type = pointcontents(pos), (_content_type == CONTENT_LAVA || _content_type == CONTENT_SLIME)) @@ -89,7 +88,7 @@ int _content_type; */ entity bot_spawn(); -float bot_fixcount(); +bool bot_fixcount(); void bot_think(entity this); void bot_setnameandstuff(entity this);