X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fbot.qc;h=468b32c4a57ef46fd2eb6186901475b5aae946fa;hb=f41d9f31538bef0259d2b2c74536bb977901f99d;hp=d9beb7c533dc551a3de92d1e3b4bc38b11b88356;hpb=a4e71642208a27102c82a782b72a72efc7d342bf;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/bot.qc b/qcsrc/server/bot/bot.qc index d9beb7c53..468b32c4a 100644 --- a/qcsrc/server/bot/bot.qc +++ b/qcsrc/server/bot/bot.qc @@ -17,23 +17,23 @@ #include "../constants.qh" #include "../defs.qh" #include "../race.qh" -#include "../../common/t_items.qh" +#include #include "../mutators/all.qh" #include "../weapons/accuracy.qh" -#include "../../common/constants.qh" -#include "../../common/mapinfo.qh" -#include "../../common/teams.qh" -#include "../../common/util.qh" +#include +#include +#include +#include -#include "../../common/weapons/all.qh" +#include -#include "../../lib/csqcmodel/sv_model.qh" +#include -#include "../../lib/warpzone/common.qh" -#include "../../lib/warpzone/util_server.qh" +#include +#include entity bot_spawn() {SELFPARAM(); @@ -113,7 +113,7 @@ void bot_think() } // if dead, just wait until we can respawn - if (self.deadflag) + if (IS_DEAD(self)) { if (self.deadflag == DEAD_DEAD) {