runplayermove is now not called every frame, the same as main bot code
this gives another fps boost for server perfomance, but gives a little shaky viewmodel (gun) drawing for bot while spectating him in firstperson mode.
This commit is contained in:
parent
6502c44050
commit
11d3ffe20e
4 changed files with 11 additions and 5 deletions
|
|
@ -2886,7 +2886,7 @@ void Bot::ThinkMain (void)
|
|||
void Bot::ThinkFrame (void)
|
||||
{
|
||||
UpdateLookAngles ();
|
||||
RunPlayerMovement ();
|
||||
// RunPlayerMovement ();
|
||||
}
|
||||
|
||||
void Bot::Think (void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue