mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Fix tile CAMERA1+4 being not changed to a CAMERA1 on spawn.
git-svn-id: https://svn.eduke32.com/eduke32@2868 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
af626df86b
commit
8fa80701bb
1 changed files with 4 additions and 2 deletions
|
@ -4063,14 +4063,16 @@ int32_t A_Spawn(int32_t j, int32_t pn)
|
||||||
sect = sp->sectnum;
|
sect = sp->sectnum;
|
||||||
|
|
||||||
//some special cases that can't be handled through the dynamictostatic system.
|
//some special cases that can't be handled through the dynamictostatic system.
|
||||||
if (((sp->picnum >= BOLT1)&&(sp->picnum <= BOLT1+3))||((sp->picnum >= SIDEBOLT1)&&(sp->picnum <= SIDEBOLT1+3)))
|
if ((sp->picnum >= BOLT1 && sp->picnum <= BOLT1+3) ||
|
||||||
|
(sp->picnum >= SIDEBOLT1 && sp->picnum <= SIDEBOLT1+3))
|
||||||
{
|
{
|
||||||
T1 = sp->xrepeat;
|
T1 = sp->xrepeat;
|
||||||
T2 = sp->yrepeat;
|
T2 = sp->yrepeat;
|
||||||
sp->yvel = 0;
|
sp->yvel = 0;
|
||||||
changespritestat(i, STAT_STANDABLE);
|
changespritestat(i, STAT_STANDABLE);
|
||||||
}
|
}
|
||||||
else if (((sp->picnum >= CAMERA1)&&(sp->picnum <= CAMERA1+3))||(sp->picnum==CAMERAPOLE)||(sp->picnum==GENERICPOLE))
|
else if ((sp->picnum >= CAMERA1 && sp->picnum <= CAMERA1+4) ||
|
||||||
|
sp->picnum==CAMERAPOLE || sp->picnum==GENERICPOLE)
|
||||||
{
|
{
|
||||||
if (sp->picnum != GENERICPOLE)
|
if (sp->picnum != GENERICPOLE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue