mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
- re-added the fix for the inverted card reader in Twin Dragon's Map 10.
This accidentally got lost when the one-sided key fix was generalized.
This commit is contained in:
parent
57a6bfcdcd
commit
5b85105762
2 changed files with 6 additions and 0 deletions
|
@ -525,6 +525,7 @@ xx(ZDoom)
|
||||||
xx(ZDoomTranslated)
|
xx(ZDoomTranslated)
|
||||||
xx(Vavoom)
|
xx(Vavoom)
|
||||||
xx(GZDoom)
|
xx(GZDoom)
|
||||||
|
xx(Eternity)
|
||||||
|
|
||||||
xx(Xpanningfloor)
|
xx(Xpanningfloor)
|
||||||
xx(Ypanningfloor)
|
xx(Ypanningfloor)
|
||||||
|
|
|
@ -349,6 +349,11 @@ void InitLevel(MapRecord *maprec)
|
||||||
engineLoadBoard(maprec->fileName, SW_SHAREWARE ? 1 : 0, &Player[0].pos, &ang, &Player[0].cursectnum);
|
engineLoadBoard(maprec->fileName, SW_SHAREWARE ? 1 : 0, &Player[0].pos, &ang, &Player[0].cursectnum);
|
||||||
currentLevel = maprec;
|
currentLevel = maprec;
|
||||||
|
|
||||||
|
if (!maprec->labelName.CompareNoCase("$hidtemp") && !maprec->name.CompareNoCase("$TXTS_T_MAP10"))
|
||||||
|
{
|
||||||
|
// flip the inverted card reader in TD's level 10.
|
||||||
|
if (sprite[179].picnum == 1852 && sprite[179].cstat == 92) sprite[179].cstat &= ~12;
|
||||||
|
}
|
||||||
if (!maprec->labelName.CompareNoCase("$outpost") && !maprec->name.CompareNoCase("$TXTS_MAP09"))
|
if (!maprec->labelName.CompareNoCase("$outpost") && !maprec->name.CompareNoCase("$TXTS_MAP09"))
|
||||||
{
|
{
|
||||||
// silence a misplaced and *very* annoying ambient sound.
|
// silence a misplaced and *very* annoying ambient sound.
|
||||||
|
|
Loading…
Reference in a new issue