- fixed: P_SpawnPlayerMissile still used the angle_t values for offsetting the autoaim traces.

This commit is contained in:
Christoph Oelckers 2016-04-07 13:11:23 +02:00
parent 1eeaee1ac7
commit ddb2f6b6cb

View file

@ -5955,8 +5955,7 @@ AActor *P_SpawnPlayerMissile (AActor *source, double x, double y, double z,
PClassActor *type, DAngle angle, FTranslatedLineTarget *pLineTarget, AActor **pMissileActor,
bool nofreeaim, bool noautoaim, int aimflags)
{
//static const double angdiff[3] = { -5.625, 5.625, 0 };
static const int angdiff[3] = { -(1<<26), 1<<26, 0 };
static const double angdiff[3] = { -5.625, 5.625, 0 };
DAngle an = angle;
DAngle pitch;
FTranslatedLineTarget scratch;