This commit is contained in:
ineed bots
2023-12-11 17:13:49 -06:00
parent 23b4531bf6
commit efa67b1421
3 changed files with 4 additions and 14 deletions

View File

@@ -1470,7 +1470,7 @@ aim_loop()
}
if ( !usingRemote )
self thread bot_lookat( last_pos + ( 0, 0, self getEyeHeight() + nadeAimOffset ), aimspeed );
self thread bot_lookat( last_pos + ( 0, 0, self GetPlayerViewHeight() + nadeAimOffset ), aimspeed );
else
self thread bot_lookat( last_pos, aimspeed );
@@ -1576,7 +1576,7 @@ aim_loop()
nadeAimOffset = dist / 3000;
}
aimpos = last_pos + ( 0, 0, self getEyeHeight() + nadeAimOffset );
aimpos = last_pos + ( 0, 0, self GetPlayerViewHeight() + nadeAimOffset );
if ( usingRemote )
aimpos = last_pos;
@@ -1632,7 +1632,7 @@ aim_loop()
lookat = self.bot.towards_goal;
if ( isDefined( lookat ) )
self thread bot_lookat( lookat + ( 0, 0, self getEyeHeight() ), aimspeed );
self thread bot_lookat( lookat + ( 0, 0, self GetPlayerViewHeight() ), aimspeed );
}
}