- floatified quake and weapon code
This commit is contained in:
parent
2dbd79cc8d
commit
6557f3b8c8
13 changed files with 140 additions and 179 deletions
|
|
@ -171,7 +171,7 @@ void DBot::ThinkForMove (ticcmd_t *cmd)
|
|||
angle = player->mo->__f_AngleTo(enemy);
|
||||
|
||||
if (player->ReadyWeapon == NULL ||
|
||||
player->mo->AproxDistance(enemy) >
|
||||
player->mo->Distance2D(enemy) >
|
||||
player->ReadyWeapon->MoveCombatDist)
|
||||
{
|
||||
// If a monster, use lower speed (just for cooler apperance while strafing down doomed monster)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue