- made AActor::velx/y/z and player_t::velx/y fixedvec's.
(This commit is 95% search & replace with only a few places where velz was used as a local variable changed.)
This commit is contained in:
parent
4116719a5a
commit
651817fad7
81 changed files with 869 additions and 870 deletions
|
|
@ -85,7 +85,7 @@ void DBot::ThinkForMove (ticcmd_t *cmd)
|
|||
dist = dest ? player->mo->AproxDistance(dest) : 0;
|
||||
|
||||
if (missile &&
|
||||
((!missile->velx || !missile->vely) || !Check_LOS(missile, SHOOTFOV*3/2)))
|
||||
((!missile->vel.x || !missile->vel.y) || !Check_LOS(missile, SHOOTFOV*3/2)))
|
||||
{
|
||||
sleft = !sleft;
|
||||
missile = NULL; //Probably ended its travel.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue