Remove sec assignments that have become superfluous

This commit is contained in:
MascaraSnake 2020-04-17 21:39:38 +02:00
parent 5a58b2d90e
commit 099ad6cf20

View file

@ -7158,7 +7158,6 @@ void P_SpawnSpecials(boolean fromnetsave)
case 312: case 312:
case 332: case 332:
case 335: case 335:
sec = sides[*lines[i].sidenum].sector - sectors;
P_AddEachTimeThinker(&lines[i]); P_AddEachTimeThinker(&lines[i]);
break; break;
@ -7189,10 +7188,7 @@ void P_SpawnSpecials(boolean fromnetsave)
else else
lines[i].callcount = sides[lines[i].sidenum[0]].textureoffset>>FRACBITS; lines[i].callcount = sides[lines[i].sidenum[0]].textureoffset>>FRACBITS;
if (lines[i].special == 322) // Each time if (lines[i].special == 322) // Each time
{
sec = sides[*lines[i].sidenum].sector - sectors;
P_AddEachTimeThinker(&lines[i]); P_AddEachTimeThinker(&lines[i]);
}
break; break;
// NiGHTS trigger executors // NiGHTS trigger executors