X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_map.pas;h=c48d0991929a39fe7f3bd84dafc438f9a7bacf8a;hb=8b6cdec88173bd86233865660860f65ee387f6f2;hp=9943dba6998a8a40944a89aa3d03346db8189293;hpb=8cd33b294accd2d91e74720607bc8d7402ac2d6c;p=d2df-sdl.git diff --git a/src/game/g_map.pas b/src/game/g_map.pas index 9943dba..c48d099 100644 --- a/src/game/g_map.pas +++ b/src/game/g_map.pas @@ -1084,8 +1084,7 @@ begin end; // ýòî ïòèöà? ýòî ñàìîë¸ò? - if (TextureWAD[0] = 'D') and (TextureWAD[1] = 'F') and - (TextureWAD[2] = 'W') and (TextureWAD[3] = 'A') and (TextureWAD[4] = 'D') then + if isWadData(TextureWAD, ResLength) then begin // íåò, ýòî ñóïåðìåí! if not WAD.ReadMemory(TextureWAD, ResLength) then