mirror of
https://github.com/DrBeef/Raze.git
synced 2025-04-11 02:09:18 +00:00
- added some Sector Effector symbolic names.
This commit is contained in:
parent
4df1578064
commit
e5219382f2
4 changed files with 4 additions and 4 deletions
|
@ -147,7 +147,7 @@ void animatesprites_d(tspriteArray& tsprites, int x, int y, int a, int smoothrat
|
|||
switch (h->spr.picnum)
|
||||
{
|
||||
case SECTOREFFECTOR:
|
||||
if (t->lotag == 27 && ud.recstat == 1)
|
||||
if (t->lotag == SE_27_DEMO_CAM && ud.recstat == 1)
|
||||
{
|
||||
t->picnum = 11 + ((PlayClock >> 3) & 1);
|
||||
t->cstat |= CSTAT_SPRITE_YCENTER;
|
||||
|
|
|
@ -131,7 +131,7 @@ void animatesprites_r(tspriteArray& tsprites, int x, int y, int a, int smoothrat
|
|||
switch (h->spr.picnum)
|
||||
{
|
||||
case SECTOREFFECTOR:
|
||||
if (t->lotag == 27 && ud.recstat == 1)
|
||||
if (t->lotag == SE_27_DEMO_CAM && ud.recstat == 1)
|
||||
{
|
||||
t->picnum = 11 + ((PlayClock >> 3) & 1);
|
||||
t->cstat |= CSTAT_SPRITE_YCENTER;
|
||||
|
|
|
@ -977,7 +977,7 @@ bool checkhitceiling_d(sectortype* sectp)
|
|||
DukeSectIterator it(sectp);
|
||||
while (auto act = it.Next())
|
||||
{
|
||||
if (act->spr.picnum == SECTOREFFECTOR && act->spr.lotag == 12)
|
||||
if (act->spr.picnum == SECTOREFFECTOR && act->spr.lotag == SE_12_LIGHT_SWITCH)
|
||||
{
|
||||
DukeStatIterator it1(STAT_EFFECTOR);
|
||||
while (auto act2 = it1.Next())
|
||||
|
|
|
@ -1489,7 +1489,7 @@ bool checkhitceiling_r(sectortype* sectp)
|
|||
DukeSectIterator it(sectp);
|
||||
while (auto act1 = it.Next())
|
||||
{
|
||||
if (act1->spr.picnum == SECTOREFFECTOR && (act1->spr.lotag == 12 || (isRRRA() && (act1->spr.lotag == 47 || act1->spr.lotag == 48))))
|
||||
if (act1->spr.picnum == SECTOREFFECTOR && (act1->spr.lotag == SE_12_LIGHT_SWITCH || (isRRRA() && (act1->spr.lotag == 47 || act1->spr.lotag == 48))))
|
||||
{
|
||||
DukeStatIterator itr(STAT_EFFECTOR);
|
||||
while (auto act2 = itr.Next())
|
||||
|
|
Loading…
Reference in a new issue