- Fixed: Used the wrong actor's radius in P_Thing_Projectile() to get the maxdist for P_CheckMissileSpawn().

SVN r4196 (trunk)
This commit is contained in:
Randy Heit 2013-03-21 22:21:54 +00:00
parent e4127111b1
commit 06445e8181

View file

@ -336,7 +336,7 @@ nolead: mobj->angle = R_PointToAngle2 (mobj->x, mobj->y, targ->x, targ->y);
}
if (mobj->flags & MF_MISSILE)
{
if (P_CheckMissileSpawn (mobj, source->radius))
if (P_CheckMissileSpawn (mobj, spot->radius))
{
rtn = true;
}