From 67a593d1769d97c648f9094f2b1b87d8fbe866e7 Mon Sep 17 00:00:00 2001 From: mand1nga Date: Sun, 1 Nov 2009 03:00:49 +0000 Subject: [PATCH] Fixed some typos git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8196 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/bot/bot.qc | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/data/qcsrc/server/bot/bot.qc b/data/qcsrc/server/bot/bot.qc index 96cef5b6a..98f80e3b6 100644 --- a/data/qcsrc/server/bot/bot.qc +++ b/data/qcsrc/server/bot/bot.qc @@ -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); // keyboards kill - READSKILL(bot_moveskill, 2, 0); // moves kill - READSKILL(bot_dodgeskill, 2, 0); // dodges kill + 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); // pings kill + READSKILL(bot_pingskill, 0.5, 0); // ping skill - READSKILL(bot_weaponskill, 2, 0); // weapons kill - READSKILL(bot_aggresskill, 1, 0); // aggres kill - READSKILL(bot_rangepreference, 1, 0); // reads kill + 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); // aims kill - READSKILL(bot_offsetskill, 2, 0.5); // offsets kill - READSKILL(bot_mouseskill, 1, 0.5); // mouses kill + 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); // thinks kill - READSKILL(bot_aiskill, 2, 0); // "ai"s kill + READSKILL(bot_thinkskill, 1, 0.5); // think skill + READSKILL(bot_aiskill, 2, 0); // "ai" skill self.bot_config_loaded = TRUE; -- 2.39.2