mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-27 05:30:56 +00:00
- fixed: 3D floors could be set for untagged sectors.
This commit is contained in:
parent
2021baf47d
commit
f9712460f3
1 changed files with 4 additions and 2 deletions
|
@ -858,6 +858,7 @@ void P_Spawn3DFloors (void)
|
||||||
{
|
{
|
||||||
case ExtraFloor_LightOnly:
|
case ExtraFloor_LightOnly:
|
||||||
if (line.args[1] < 0 || line.args[1] > 2) line.args[1] = 0;
|
if (line.args[1] < 0 || line.args[1] > 2) line.args[1] = 0;
|
||||||
|
if (line.args[0] != 0)
|
||||||
P_Set3DFloor(&line, 3, flagvals[line.args[1]], 0);
|
P_Set3DFloor(&line, 3, flagvals[line.args[1]], 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -877,6 +878,7 @@ void P_Spawn3DFloors (void)
|
||||||
line.args[4]=0;
|
line.args[4]=0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (line.args[0] != 0)
|
||||||
P_Set3DFloor(&line, line.args[1]&~8, line.args[2], line.args[3]);
|
P_Set3DFloor(&line, line.args[1]&~8, line.args[2], line.args[3]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue