changeset 11532 | bf86c6cb9341 |
parent 11507 | bd9a2f1b0080 |
child 12765 | d01e9dd5c439 |
--- 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;