mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
Fix a conversion oversight with linedef type 8
This commit is contained in:
parent
eef7763d68
commit
9b780f417e
3 changed files with 7 additions and 1 deletions
|
@ -1725,6 +1725,11 @@ udmf
|
|||
{
|
||||
title = "Set Camera Collision Planes";
|
||||
prefix = "(8)";
|
||||
arg0
|
||||
{
|
||||
title = "Target sector tag";
|
||||
type = 13;
|
||||
}
|
||||
}
|
||||
|
||||
11
|
||||
|
|
|
@ -3333,6 +3333,7 @@ static void P_ConvertBinaryMap(void)
|
|||
{
|
||||
INT32 s;
|
||||
|
||||
lines[i].args[0] = tag;
|
||||
TAG_ITER_SECTORS(tag, s)
|
||||
{
|
||||
if (lines[i].flags & ML_NOCLIMB)
|
||||
|
|
|
@ -6295,7 +6295,7 @@ void P_SpawnSpecials(boolean fromnetsave)
|
|||
|
||||
case 8: // Set camera collision planes
|
||||
if (lines[i].frontsector)
|
||||
TAG_ITER_SECTORS(tag, s)
|
||||
TAG_ITER_SECTORS(lines[i].args[0], s)
|
||||
sectors[s].camsec = lines[i].frontsector-sectors;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue