mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fully fix taglist for james scroller
This commit is contained in:
parent
7dca95da14
commit
f540156bbf
1 changed files with 4 additions and 4 deletions
|
|
@ -7283,6 +7283,9 @@ static void P_SpawnScrollers(void)
|
||||||
INT32 control = -1, accel = 0; // no control sector or acceleration
|
INT32 control = -1, accel = 0; // no control sector or acceleration
|
||||||
INT32 special = l->special;
|
INT32 special = l->special;
|
||||||
|
|
||||||
|
register INT32 s;
|
||||||
|
TAG_ITER_DECLARECOUNTER(0);
|
||||||
|
|
||||||
tag = Tag_FGet(&l->tags);
|
tag = Tag_FGet(&l->tags);
|
||||||
|
|
||||||
// These types are same as the ones they get set to except that the
|
// These types are same as the ones they get set to except that the
|
||||||
|
|
@ -7324,9 +7327,6 @@ static void P_SpawnScrollers(void)
|
||||||
|
|
||||||
switch (special)
|
switch (special)
|
||||||
{
|
{
|
||||||
register INT32 s;
|
|
||||||
TAG_ITER_DECLARECOUNTER(0);
|
|
||||||
|
|
||||||
case 513: // scroll effect ceiling
|
case 513: // scroll effect ceiling
|
||||||
case 533: // scroll and carry objects on ceiling
|
case 533: // scroll and carry objects on ceiling
|
||||||
TAG_ITER_SECTORS(0, tag, s)
|
TAG_ITER_SECTORS(0, tag, s)
|
||||||
|
|
@ -7413,7 +7413,7 @@ static void P_SpawnScrollers(void)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 509: // scroll front and backside of tagged lines
|
case 509: // scroll front and backside of tagged lines
|
||||||
for (s = -1; (s = P_FindLineFromTag(l->tag, s)) >= 0 ;)
|
TAG_ITER_LINES(0, tag, s)
|
||||||
{
|
{
|
||||||
if (s != (INT32)i)
|
if (s != (INT32)i)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue