- re-added P_SetPSprite.
For debugging purposes it's better to have this as a function.
This commit is contained in:
parent
f184438032
commit
e6d89b9f71
15 changed files with 55 additions and 48 deletions
|
|
@ -120,7 +120,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_FPunchAttack)
|
|||
if (pmo->weaponspecial >= 3)
|
||||
{
|
||||
pmo->weaponspecial = 0;
|
||||
player->GetPSprite(ps_weapon)->SetState(player->ReadyWeapon->FindState("Fire2"));
|
||||
P_SetPsprite(player, ps_weapon, player->ReadyWeapon->FindState("Fire2"));
|
||||
S_Sound (pmo, CHAN_VOICE, "*fistgrunt", 1, ATTN_NORM);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue