diff --git a/source/common/engine/namedef.h b/source/common/engine/namedef.h index 8be149bea..cf8b8da62 100644 --- a/source/common/engine/namedef.h +++ b/source/common/engine/namedef.h @@ -525,6 +525,7 @@ xx(ZDoom) xx(ZDoomTranslated) xx(Vavoom) xx(GZDoom) +xx(Eternity) xx(Xpanningfloor) xx(Ypanningfloor) diff --git a/source/games/sw/src/game.cpp b/source/games/sw/src/game.cpp index d20b6dee6..ec39e50a8 100644 --- a/source/games/sw/src/game.cpp +++ b/source/games/sw/src/game.cpp @@ -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.