mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed: A_InquisitorAttack used FRACBITS to offset the grenades' launch position instead of FRACUNIT
SVN r3546 (trunk)
This commit is contained in:
parent
837126ae57
commit
6089347161
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_InquisitorAttack)
|
|||
|
||||
A_FaceTarget (self);
|
||||
|
||||
self->z += 32*FRACBITS;
|
||||
self->z += 32*FRACUNIT;
|
||||
self->angle -= ANGLE_45/32;
|
||||
proj = P_SpawnMissileZAimed (self, self->z, self->target, PClass::FindClass("InquisitorShot"));
|
||||
if (proj != NULL)
|
||||
|
@ -66,7 +66,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_InquisitorAttack)
|
|||
{
|
||||
proj->velz += 16*FRACUNIT;
|
||||
}
|
||||
self->z -= 32*FRACBITS;
|
||||
self->z -= 32*FRACUNIT;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, A_InquisitorJump)
|
||||
|
|
Loading…
Reference in a new issue