- Fix compilation with MinGW + w32api and clean up warnings.

SVN r2505 (trunk)
This commit is contained in:
Randy Heit 2010-08-11 03:56:31 +00:00
commit 3416a7fc47
9 changed files with 47 additions and 19 deletions

View file

@ -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());