From 520a40f0bf7a49bdf40d3ad59d03a3412684ccc1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 9 Aug 2008 22:10:41 +0000 Subject: [PATCH] - GCC fixes. SVN r1139 (trunk) --- src/b_bot.cpp | 8 ++++---- src/g_hexen/a_heresiarch.cpp | 10 ++++++++++ src/g_hexen/a_hexenglobal.h | 10 ---------- 3 files changed, 14 insertions(+), 14 deletions(-) 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