diff -r d1cf1ff6cabb -r bf86c6cb9341 hedgewars/uTextures.pas --- a/hedgewars/uTextures.pas Sun Jan 24 00:02:57 2016 +0100 +++ b/hedgewars/uTextures.pas Sun Jan 31 16:07:14 2016 +0300 @@ -229,7 +229,7 @@ if (surf^.format^.BytesPerPixel <> 4) then begin - TryDo(false, 'Surface2Tex failed, expecting 32 bit surface', true); + checkFails(false, 'Surface2Tex failed, expecting 32 bit surface', true); Surface2Tex^.id:= 0; exit end;