- renamed internal MELEERANGE constant to deconflict with Actor's MeleeRange member.

This commit is contained in:
Christoph Oelckers 2016-12-10 16:35:48 +01:00
commit 952e47cfe4
16 changed files with 32 additions and 32 deletions

View file

@ -193,7 +193,7 @@ void DBot::Dofire (ticcmd_t *cmd)
else
{
//*4 is for atmosphere, the chainsaws sounding and all..
no_fire = (Dist > MELEERANGE*4);
no_fire = (Dist > DEFMELEERANGE*4);
}
}
else if (player->ReadyWeapon->WeaponFlags & WIF_BOT_BFG)