ref: c59d343a60e32c17c01c1c638c75d08975e26b38
parent: 481378dfc2c46b941a6d418504b5ac7083aad0ae
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Mon Jun 4 11:37:12 EDT 2018
Removing DOS code w_wad.c
--- a/rott/w_wad.c
+++ b/rott/w_wad.c
@@ -171,22 +171,6 @@
void W_CheckWADIntegrity ( void )
{// CRC disabled because it's not very useful these days
-
-#ifdef DOS
- crc = CalculateCRC ((byte *)lumpinfo, numlumps*sizeof(lumpinfo_t) );
-
- if (crc != WADCHECKSUM)
- {- printf("==============================================================================\n");- printf("ATTENTION: This version of ROTT has been modified. If you would like to get\n");- printf("a copy of the original game, call 1-800-APOGEE1 or run ROTTHELP.EXE.\n");- printf(" You will not receive technical support for this modified version.\n");-// printf(" Press any key to continue\n");- printf("==============================================================================\n");-// printf("crc=%ld\n",crc);-// getch();
- }
-#endif
}
@@ -236,9 +220,6 @@
#if (DATACORRUPTIONTEST == 1)
lumpcheck=SafeMalloc(numlumps);
memset(lumpcheck,255,numlumps);
-#endif
-#ifdef DOS
- if (!SOUNDSETUP)
#endif
W_CheckWADIntegrity ();
}
--
⑨