1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2025-06-28 23:21:51 +00:00

Added fullauto

This commit is contained in:
ineedbots
2021-05-11 17:15:13 -06:00
parent 654b8b9a41
commit f836f7529a
3 changed files with 49 additions and 6 deletions

View File

@ -490,11 +490,8 @@ entIsVehicle(ent)
WeaponIsFullAuto(weap)
{
weaptoks = strtok(weap, "_");
assert(isDefined(weaptoks[0]));
assert(isString(weaptoks[0]));
return isDefined(level.bots_fullautoguns[weaptoks[0]]);
return isDefined(level.bots_fullautoguns[weaptoks[1]]);
}
/*