Fixed compiler warning for FPF_NOAUTOAIM flag check

This commit is contained in:
Xaser Acheron 2015-09-09 18:54:49 -05:00
parent 8948f5dc2b
commit 5afbe8ca00
1 changed files with 1 additions and 1 deletions

View File

@ -1359,7 +1359,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FireCustomMissile)
// Temporarily adjusts the pitch
fixed_t SavedPlayerPitch = self->pitch;
self->pitch -= pitch;
AActor * misl=P_SpawnPlayerMissile (self, x, y, z, ti, shootangle, &linetarget, NULL, false, Flags & FPF_NOAUTOAIM);
AActor * misl=P_SpawnPlayerMissile (self, x, y, z, ti, shootangle, &linetarget, NULL, false, (Flags & FPF_NOAUTOAIM) != 0);
self->pitch = SavedPlayerPitch;
// automatic handling of seeker missiles