index 1c5fb19e123bded268c49037fb551d2efac87d9f..b8f14db952daaa900e0a6e85ce8d669519ad3c7f 100644 (file)
--- a/src/shared/wadreader.pas
+++ b/src/shared/wadreader.pas
if wantMap then
begin
goodMap := false;
- e_WriteLog(Format('DFWAD: checking for good map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
+ //e_WriteLog(Format('DFWAD: checking for good map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
try
fs.readBuffer(sign, 3);
goodMap := (sign = MAP_SIGNATURE);
+ {
if goodMap then
e_WriteLog(Format(' GOOD map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY)
else
e_WriteLog(Format(' BAD map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
+ }
except
end;
if not goodMap then
begin
- e_WriteLog(Format(' not a map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
+ //e_WriteLog(Format(' not a map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
fs.Free();
continue;
end;
end;
if not goodMap then
begin
- e_WriteLog(Format(' not a map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
+ //e_WriteLog(Format(' not a map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
FreeMem(pData);
pData := nil;
Len := 0;
fi := fIter.Files[f];
if fi = nil then continue;
if length(fi.name) = 0 then continue;
- e_WriteLog(Format('DFWAD: checking for map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
+ //e_WriteLog(Format('DFWAD: checking for map in wad [%s], file [%s] (#%d)', [fFileName, fi.fname, f]), MSG_NOTIFY);
if isMapResource(f) then
begin
s := removeExt(fi.name);