- make weapon sprite offsets floats.

This commit is contained in:
Christoph Oelckers 2016-03-21 01:16:34 +01:00
commit 2d2eeb49f0
9 changed files with 23 additions and 25 deletions

View file

@ -500,8 +500,8 @@ DEFINE_ACTION_FUNCTION(AActor, A_FireMauler2Pre)
if (self->player != NULL)
{
self->player->psprites[ps_weapon].sx += pr_mauler2.Random2() << 10;
self->player->psprites[ps_weapon].sy += pr_mauler2.Random2() << 10;
self->player->psprites[ps_weapon].sx += pr_mauler2.Random2() / 64.;
self->player->psprites[ps_weapon].sy += pr_mauler2.Random2() / 64.;
}
return 0;
}