mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
alt mode
This commit is contained in:
parent
81d305ec54
commit
c578dce2d6
@ -2002,9 +2002,9 @@ prone()
|
||||
*/
|
||||
changeToWeap(weap)
|
||||
{
|
||||
toks = strtok(weap, "_");
|
||||
if (toks[0] == "gl" || isSubStr(weap, "shotgun_attach_"))
|
||||
if (maps\mp\gametypes\_weapons::isAltModeWeapon(weap))
|
||||
{
|
||||
self botWeapon("");
|
||||
self setSpawnWeapon(weap);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user