mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-25 18:17:53 -05:00
fixed crashes related to 3 bot scripts
Added a missing include to _bot. Changed vectortoangle() to vectortoangles() in _bot_combat. Removed an extra input from 3 functions since those functions only take in 1 input in _bot_ctf.
This commit is contained in:
@ -23,15 +23,15 @@ bot_ctf_think() //checked changed to match cerberus output changed at own discre
|
||||
node = random( nodes );
|
||||
if ( cointoss() )
|
||||
{
|
||||
self maps/mp/bots/_bot_combat::bot_combat_throw_proximity( node.origin, flag_mine.curorigin );
|
||||
self maps/mp/bots/_bot_combat::bot_combat_throw_proximity( node.origin );
|
||||
}
|
||||
if ( cointoss() )
|
||||
{
|
||||
self maps/mp/bots/_bot_combat::bot_combat_toss_frag( node.origin, flag_mine.curorigin );
|
||||
self maps/mp/bots/_bot_combat::bot_combat_toss_frag( node.origin );
|
||||
}
|
||||
if ( cointoss() )
|
||||
{
|
||||
self maps/mp/bots/_bot_combat::bot_combat_toss_flash( node.origin, flag_mine.curorigin );
|
||||
self maps/mp/bots/_bot_combat::bot_combat_toss_flash( node.origin );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -380,3 +380,4 @@ bot_ctf_random_visible_node( origin ) //checked changed to match cerberus output
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user