mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 01:43:50 +00:00
Disable camera scanner effect in UDMF
This commit is contained in:
parent
c76d0e3326
commit
234e8f5f8f
2 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,7 @@ doom
|
|||
}
|
||||
5
|
||||
{
|
||||
title = "Camera Scanner";
|
||||
title = "Camera Scanner <deprecated>";
|
||||
prefix = "(5)";
|
||||
}
|
||||
7
|
||||
|
|
|
@ -6116,6 +6116,9 @@ void P_SpawnSpecials(boolean fromnetsave)
|
|||
break;
|
||||
|
||||
case 5: // Change camera info
|
||||
if (udmf)
|
||||
break;
|
||||
|
||||
sec = sides[*lines[i].sidenum].sector - sectors;
|
||||
TAG_ITER_SECTORS(tag, s)
|
||||
P_AddCameraScanner(§ors[sec], §ors[s], R_PointToAngle2(lines[i].v2->x, lines[i].v2->y, lines[i].v1->x, lines[i].v1->y));
|
||||
|
|
Loading…
Reference in a new issue