mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +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(Vavoom)
|
||||
xx(GZDoom)
|
||||
xx(Eternity)
|
||||
|
||||
xx(Xpanningfloor)
|
||||
xx(Ypanningfloor)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue