Fixed some typos
authormand1nga <mand1nga@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sun, 1 Nov 2009 03:00:49 +0000 (03:00 +0000)
committermand1nga <mand1nga@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sun, 1 Nov 2009 03:00:49 +0000 (03:00 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8196 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/bot/bot.qc

index 96cef5b..98f80e3 100644 (file)
@@ -167,25 +167,26 @@ void bot_setnameandstuff()
        self.bot_forced_team = stof(argv(5));
 
        prio = 6;
-#define READSKILL(f,w,r) if(argv(prio) != "") self.f = stof(argv(prio)) * (w); else self.f = (!cvar("g_campaign")) * (2 * random() - 1) * (r) * (w); ++prio
+
+       #define READSKILL(f,w,r) if(argv(prio) != "") self.f = stof(argv(prio)) * (w); else self.f = (!cvar("g_campaign")) * (2 * random() - 1) * (r) * (w); ++prio
        //print(bot_name, ": ping=", argv(9), "\n");
 
-       READSKILL(havocbot_keyboardskill, 0.5, 0.5); // keyboardkill
-       READSKILL(bot_moveskill, 2, 0); // movekill
-       READSKILL(bot_dodgeskill, 2, 0); // dodgekill
+       READSKILL(havocbot_keyboardskill, 0.5, 0.5); // keyboard skill
+       READSKILL(bot_moveskill, 2, 0); // move skill
+       READSKILL(bot_dodgeskill, 2, 0); // dodge skill
 
-       READSKILL(bot_pingskill, 0.5, 0); // pingkill
+       READSKILL(bot_pingskill, 0.5, 0); // ping skill
 
-       READSKILL(bot_weaponskill, 2, 0); // weaponkill
-       READSKILL(bot_aggresskill, 1, 0); // aggrekill
-       READSKILL(bot_rangepreference, 1, 0); // readkill
+       READSKILL(bot_weaponskill, 2, 0); // weapon skill
+       READSKILL(bot_aggresskill, 1, 0); // aggre skill
+       READSKILL(bot_rangepreference, 1, 0); // read skill
 
-       READSKILL(bot_aimskill, 2, 0); // aimkill
-       READSKILL(bot_offsetskill, 2, 0.5); // offsetkill
-       READSKILL(bot_mouseskill, 1, 0.5); // mousekill
+       READSKILL(bot_aimskill, 2, 0); // aim skill
+       READSKILL(bot_offsetskill, 2, 0.5); // offset skill
+       READSKILL(bot_mouseskill, 1, 0.5); // mouse skill
 
-       READSKILL(bot_thinkskill, 1, 0.5); // thinkkill
-       READSKILL(bot_aiskill, 2, 0); // "ai"kill
+       READSKILL(bot_thinkskill, 1, 0.5); // think skill
+       READSKILL(bot_aiskill, 2, 0); // "ai" skill
 
        self.bot_config_loaded = TRUE;