mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 07:21:54 +00:00
fix chembomb state sequence.
This commit is contained in:
parent
0666e3372c
commit
707eee9147
2 changed files with 8 additions and 4 deletions
|
@ -147,9 +147,13 @@ FState s_RadiationCloud[] =
|
|||
|
||||
#define CHEMBOMB_RATE 8
|
||||
|
||||
FState s_ChemBomb[1] =
|
||||
FState s_ChemBomb[5] =
|
||||
{
|
||||
{SPR_CHEMBOMB, 'A', CHEMBOMB_RATE, &AF(DoChemBomb), &s_ChemBomb[1]},
|
||||
{SPR_CHEMBOMB, 'A', CHEMBOMB_RATE, &AF(DoChemBomb), &s_ChemBomb[0]},
|
||||
{SPR_CHEMBOMB, 'B', CHEMBOMB_RATE, &AF(DoChemBomb), &s_ChemBomb[1]},
|
||||
{SPR_CHEMBOMB, 'C', CHEMBOMB_RATE, &AF(DoChemBomb), &s_ChemBomb[2]},
|
||||
{SPR_CHEMBOMB, 'D', CHEMBOMB_RATE, &AF(DoChemBomb), &s_ChemBomb[3]},
|
||||
{SPR_CHEMBOMB, 'E', CHEMBOMB_RATE, &AF(DoChemBomb), &s_ChemBomb[0]},
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -5981,8 +5981,8 @@ int StateControl(DSWActor* actor)
|
|||
// Set the correct pic
|
||||
if ((actor->user.State->Tics & SF_WALL_STATE)) // never used anywhere...
|
||||
{
|
||||
ASSERT(actor->user.WallP);
|
||||
actor->user.WallP->setwalltexture(picFromState(actor->user.State));
|
||||
if (actor->user.WallP)
|
||||
actor->user.WallP->setwalltexture(picFromState(actor->user.State));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue