Update d_main.c

This commit is contained in:
yellowtd 2015-07-04 05:07:10 -04:00
parent 56e2b4106d
commit e14e619acf

View file

@ -145,7 +145,7 @@ char srb2path[256] = ".";
#endif
boolean usehome = true;
const char *pandf = "%s" PATHSEP "%s";
const char *ASSET_HASH_JTELUA_DLL = "a6625632aa87a2221dfe25eada57b664";
//
// EVENT HANDLING
//
@ -833,6 +833,9 @@ static void IdentifyVersion(void)
// Add the weapons
D_AddFile(va(pandf,srb2waddir,"rings.dta"));
//--Add temporary lua/wad fixes until next patch, or 2.3
D_AddFile(va(pandf,srb2waddir,"liblua-51_ex.dll"));
// Add our crappy patches to fix our bugs
// D_AddFile(va(pandf,srb2waddir,"patch.dta"));
@ -1125,6 +1128,8 @@ void D_SRB2Main(void)
W_VerifyFileMD5(1, ASSET_HASH_ZONES_DTA); // zones.dta
W_VerifyFileMD5(2, ASSET_HASH_PLAYER_DTA); // player.dta
W_VerifyFileMD5(3, ASSET_HASH_RINGS_DTA); // rings.dta
//Explicitly required for JTE related lua fixes (temporary)
W_VerifyFileMD5(4, ASSET_HASH_JTELUA_DLL); // liblua-51_ex.dll
//W_VerifyFileMD5(4, "0c66790502e648bfce90fdc5bb15722e"); // patch.dta
// don't check music.dta because people like to modify it, and it doesn't matter if they do
// ...except it does if they slip maps in there, and that's what W_VerifyNMUSlumps is for.