- 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:
Christoph Oelckers 2016-04-25 01:01:28 +02:00
parent 0f99d7d73f
commit 172290224b
2 changed files with 3 additions and 2 deletions

View file

@ -1064,11 +1064,11 @@ FUNC(LS_Teleport_NoFog)
break;
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;
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;
}

View file

@ -230,3 +230,4 @@ enum
443 = 0, Generic_Crusher(0)
444 = 0, Teleport(0)
445 = 0, Teleport_NoFog(0)
446 = 0, Teleport_Line(0)