- 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
|
|
@ -39,7 +39,7 @@ void APigPlayer::MorphPlayerThink ()
|
|||
{ // Snout sniff
|
||||
if (player->ReadyWeapon != nullptr)
|
||||
{
|
||||
player->GetPSprite(ps_weapon)->SetState(player->ReadyWeapon->FindState("Grunt"));
|
||||
P_SetPsprite(player, ps_weapon, player->ReadyWeapon->FindState("Grunt"));
|
||||
}
|
||||
S_Sound (this, CHAN_VOICE, "PigActive1", 1, ATTN_NORM); // snort
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue