# HG changeset patch # User unc0rr # Date 1516147179 -3600 # Node ID c77d75dafe2e880dd2a108e8f4e26d1c4f90cc80 # Parent ff54aca22bb59a3c69f8941b292a4021462479b3 Add assert on LoadingText texture value diff -r ff54aca22bb5 -r c77d75dafe2e hedgewars/uStore.pas --- a/hedgewars/uStore.pas Wed Jan 17 00:32:34 2018 +0100 +++ b/hedgewars/uStore.pas Wed Jan 17 00:59:39 2018 +0100 @@ -815,7 +815,7 @@ {$ENDIF} end; - if checkFails(ProgrTex <> nil, 'Error - Progress Texure is nil!', true) then exit; + if checkFails((ProgrTex <> nil) and (LoadingText <> nil), 'Error - Progress or Loading Texture is nil!', true) then exit; RenderClear(); if Step < numsquares then