diff --git a/src/b_bot.cpp b/src/b_bot.cpp index 90acee11c..a7b0e1ffa 100644 --- a/src/b_bot.cpp +++ b/src/b_bot.cpp @@ -111,7 +111,7 @@ void InitBotStuff() if (done) return; done = true; - struct BotInit + static struct BotInit { const char *type; int movecombatdist; @@ -158,7 +158,7 @@ void InitBotStuff() { "StrifeGrenadeLauncher2", 18350080, WIF_BOT_REACTION_SKILL_THING|WIF_BOT_EXPLOSIVE, "PhosphorousGrenade" }, }; - for(int i=0;iIsDescendantOf(RUNTIME_CLASS(AWeapon))) @@ -173,8 +173,8 @@ void InitBotStuff() } } - static char *warnbotmissiles[] = { "PlasmaBall", "Ripper", "HornRodFX1" }; - for(int i=0;i