mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-07-07 07:57:51 -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:
@ -515,7 +515,7 @@ bot_get_aim_error() //checked changed at own discretion
|
||||
|
||||
bot_update_lookat( origin, frac ) //checked matches cerberus output
|
||||
{
|
||||
angles = vectorToAngle( origin - self.origin );
|
||||
angles = vectorToAngles( origin - self.origin );
|
||||
right = anglesToRight( angles );
|
||||
error = bot_get_aim_error() * ( 1 - frac );
|
||||
if ( cointoss() )
|
||||
@ -1867,3 +1867,4 @@ bot_riotshield_dangerous_think( enemy, goal ) //checked partially changed to mat
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user