From 997a94053b44d7b4c6e149cd3e50463386ef730c Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Fri, 22 Apr 2016 18:05:13 +0300 Subject: [PATCH] removed debug output in wadreader --- src/shared/wadreader.pas | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/shared/wadreader.pas b/src/shared/wadreader.pas index 1c5fb19..b8f14db 100644 --- a/src/shared/wadreader.pas +++ b/src/shared/wadreader.pas @@ -304,19 +304,21 @@ begin 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; @@ -349,7 +351,7 @@ begin 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; @@ -391,7 +393,7 @@ begin 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); -- 2.29.2