- fixed some minor issues found during reviewing the code.
This commit is contained in:
parent
671291227e
commit
29a7fe33f3
12 changed files with 51 additions and 32 deletions
|
|
@ -266,7 +266,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FireArrow)
|
|||
if (ti)
|
||||
{
|
||||
savedangle = self->_f_angle();
|
||||
self->Angles.Yaw += ANGLE2DBL(pr_electric.Random2() * (1 << (18 - self->player->mo->accuracy * 5 / 100)));
|
||||
self->Angles.Yaw += ANGLE2DBL(pr_electric.Random2() << (18 - self->player->mo->accuracy * 5 / 100));
|
||||
self->player->mo->PlayAttacking2 ();
|
||||
P_SpawnPlayerMissile (self, ti);
|
||||
self->Angles.Yaw = savedangle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue