mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- make modes 2 and 3 of Teleport_NoFog compatible with Eternity by defaulting to mode 1 when no line is available.
This commit is contained in:
parent
0f99d7d73f
commit
172290224b
2 changed files with 3 additions and 2 deletions
|
@ -1064,11 +1064,11 @@ FUNC(LS_Teleport_NoFog)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
flags |= TELF_KEEPORIENTATION | TELF_ROTATEBOOM; // adjust to exit thing like Boom (i.e. with incorrect reversed angle)
|
if (ln != NULL) flags |= TELF_KEEPORIENTATION | TELF_ROTATEBOOM; // adjust to exit thing like Boom (i.e. with incorrect reversed angle)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
flags |= TELF_KEEPORIENTATION | TELF_ROTATEBOOMINVERSE; // adjust to exit thing correctly
|
if (ln != NULL) flags |= TELF_KEEPORIENTATION | TELF_ROTATEBOOMINVERSE; // adjust to exit thing correctly
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -230,3 +230,4 @@ enum
|
||||||
443 = 0, Generic_Crusher(0)
|
443 = 0, Generic_Crusher(0)
|
||||||
444 = 0, Teleport(0)
|
444 = 0, Teleport(0)
|
||||||
445 = 0, Teleport_NoFog(0)
|
445 = 0, Teleport_NoFog(0)
|
||||||
|
446 = 0, Teleport_Line(0)
|
||||||
|
|
Loading…
Reference in a new issue