- Fix compilation with MinGW + w32api and clean up warnings.
SVN r2505 (trunk)
This commit is contained in:
parent
e0bd67de5a
commit
3416a7fc47
9 changed files with 47 additions and 19 deletions
|
|
@ -1566,7 +1566,7 @@ bool P_SeekerMissile (AActor *actor, angle_t thresh, angle_t turnMax, bool preci
|
|||
}
|
||||
else
|
||||
{
|
||||
angle_t pitch;
|
||||
angle_t pitch = 0;
|
||||
if (!(actor->flags3 & (MF3_FLOORHUGGER|MF3_CEILINGHUGGER)))
|
||||
{ // Need to seek vertically
|
||||
double dist = MAX(1.0, FVector2(target->x - actor->x, target->y - actor->y).Length());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue