- make weapon sprite offsets floats.
This commit is contained in:
parent
1ff4bb419c
commit
2d2eeb49f0
9 changed files with 23 additions and 25 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue