projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dbe060
)
Fix typo
author
terencehill <piuntn@gmail.com>
Sun, 16 Feb 2020 12:57:05 +0000
(13:57 +0100)
committer
terencehill <piuntn@gmail.com>
Sun, 16 Feb 2020 12:57:05 +0000
(13:57 +0100)
qcsrc/server/bot/default/bot.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/bot/default/bot.qc
b/qcsrc/server/bot/default/bot.qc
index cb83896c22317169767e72ca953da029a0852e47..bc9c0e18e94b16dd7af86d528abc7e9b71c22882 100644
(file)
--- a/
qcsrc/server/bot/default/bot.qc
+++ b/
qcsrc/server/bot/default/bot.qc
@@
-385,7
+385,7
@@
void bot_custom_weapon_priority_setup()
tokens = tokenizebyseparator(W_NumberWeaponOrder(autocvar_bot_ai_custom_weapon_priority_close)," ");
c = 0;
- for(i=0; i < tokens &&
i
< Weapons_COUNT; ++i){
+ for(i=0; i < tokens &&
c
< Weapons_COUNT; ++i){
w = stof(argv(i));
if ( w >= WEP_FIRST && w <= WEP_LAST) {
bot_weapons_close[c] = w;