- fixed: A_InquisitorAttack used FRACBITS to offset the grenades' launch position instead of FRACUNIT

SVN r3546 (trunk)
This commit is contained in:
Christoph Oelckers 2012-04-09 07:30:18 +00:00
parent 837126ae57
commit 6089347161

View file

@ -53,7 +53,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_InquisitorAttack)
A_FaceTarget (self); A_FaceTarget (self);
self->z += 32*FRACBITS; self->z += 32*FRACUNIT;
self->angle -= ANGLE_45/32; self->angle -= ANGLE_45/32;
proj = P_SpawnMissileZAimed (self, self->z, self->target, PClass::FindClass("InquisitorShot")); proj = P_SpawnMissileZAimed (self, self->z, self->target, PClass::FindClass("InquisitorShot"));
if (proj != NULL) if (proj != NULL)
@ -66,7 +66,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_InquisitorAttack)
{ {
proj->velz += 16*FRACUNIT; proj->velz += 16*FRACUNIT;
} }
self->z -= 32*FRACBITS; self->z -= 32*FRACUNIT;
} }
DEFINE_ACTION_FUNCTION(AActor, A_InquisitorJump) DEFINE_ACTION_FUNCTION(AActor, A_InquisitorJump)