mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed: P_SpawnPlayerMissile still used the angle_t values for offsetting the autoaim traces.
This commit is contained in:
parent
1eeaee1ac7
commit
ddb2f6b6cb
1 changed files with 1 additions and 2 deletions
|
@ -5955,8 +5955,7 @@ AActor *P_SpawnPlayerMissile (AActor *source, double x, double y, double z,
|
||||||
PClassActor *type, DAngle angle, FTranslatedLineTarget *pLineTarget, AActor **pMissileActor,
|
PClassActor *type, DAngle angle, FTranslatedLineTarget *pLineTarget, AActor **pMissileActor,
|
||||||
bool nofreeaim, bool noautoaim, int aimflags)
|
bool nofreeaim, bool noautoaim, int aimflags)
|
||||||
{
|
{
|
||||||
//static const double angdiff[3] = { -5.625, 5.625, 0 };
|
static const double angdiff[3] = { -5.625, 5.625, 0 };
|
||||||
static const int angdiff[3] = { -(1<<26), 1<<26, 0 };
|
|
||||||
DAngle an = angle;
|
DAngle an = angle;
|
||||||
DAngle pitch;
|
DAngle pitch;
|
||||||
FTranslatedLineTarget scratch;
|
FTranslatedLineTarget scratch;
|
||||||
|
|
Loading…
Reference in a new issue