Fixed a typo

This commit is contained in:
MascaraSnake 2020-05-07 21:59:39 +02:00
parent 20d207a7b7
commit 650f44566f
1 changed files with 1 additions and 1 deletions

View File

@ -7710,7 +7710,7 @@ static void P_SpawnScrollers(void)
// scroll wall according to linedef
// (same direction and speed as scrolling floors)
case 502:
for (s = -1; (s = P_FindSectorFromTag(l->tag, s)) >= 0 ;)
for (s = -1; (s = P_FindLineFromTag(l->tag, s)) >= 0 ;)
if (s != (INT32)i)
Add_Scroller(sc_side, dx, dy, control, lines[s].sidenum[0], accel, 0);
break;