- Changed: For actors not being spawned on the floor P_FindFloorCeiling should
be used to prevent them from dropping through 3DMIDTEX textures. - Fixed: AMageStaffFX2::IsOkayToAttack overwrote the projectile's angle variable. SVN r970 (trunk)
This commit is contained in:
parent
c4cbef9e58
commit
6dbdcf5f60
5 changed files with 22 additions and 10 deletions
|
|
@ -321,7 +321,7 @@ bool AMageStaffFX2::IsOkayToAttack (AActor *link)
|
|||
else if (P_CheckSight (this, link))
|
||||
{
|
||||
AActor *master = target;
|
||||
angle = R_PointToAngle2 (master->x, master->y,
|
||||
angle_t angle = R_PointToAngle2 (master->x, master->y,
|
||||
link->x, link->y) - master->angle;
|
||||
angle >>= 24;
|
||||
if (angle>226 || angle<30)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue