- 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
|
|
@ -352,8 +352,8 @@ DEFINE_ACTION_FUNCTION(AActor, A_ItBurnsItBurns)
|
|||
|
||||
if (self->player != nullptr && self->player->mo == self)
|
||||
{
|
||||
self->player->GetPSprite(ps_weapon)->SetState(self->FindState("FireHands"));
|
||||
self->player->GetPSprite(ps_flash)->SetState(nullptr);
|
||||
P_SetPsprite(self->player, ps_weapon, self->FindState("FireHands"));
|
||||
P_SetPsprite(self->player, ps_flash, nullptr);
|
||||
self->player->ReadyWeapon = nullptr;
|
||||
self->player->PendingWeapon = WP_NOCHANGE;
|
||||
self->player->playerstate = PST_LIVE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue