- 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:
Christoph Oelckers 2021-03-06 12:20:03 +01:00
parent 57a6bfcdcd
commit 5b85105762
2 changed files with 6 additions and 0 deletions

View file

@ -525,6 +525,7 @@ xx(ZDoom)
xx(ZDoomTranslated)
xx(Vavoom)
xx(GZDoom)
xx(Eternity)
xx(Xpanningfloor)
xx(Ypanningfloor)

View file

@ -349,6 +349,11 @@ void InitLevel(MapRecord *maprec)
engineLoadBoard(maprec->fileName, SW_SHAREWARE ? 1 : 0, &Player[0].pos, &ang, &Player[0].cursectnum);
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"))
{
// silence a misplaced and *very* annoying ambient sound.