Propagate fatal errors to OutError if checkFails called
authorWuzzy <Wuzzy2@mail.ru>
Tue, 17 Jul 2018 19:28:31 +0200
changeset 13503 4f00b08d6f1e
parent 13502 65c348d6c1fa
child 13504 c41b16ac2e05
Propagate fatal errors to OutError if checkFails called
hedgewars/uDebug.pas
--- a/hedgewars/uDebug.pas	Tue Jul 17 18:38:44 2018 +0200
+++ b/hedgewars/uDebug.pas	Tue Jul 17 19:28:31 2018 +0200
@@ -56,7 +56,7 @@
     if not Assert then
         begin
         lastConsoleLine:= Msg;
-        OutError(Msg, false);
+        OutError(Msg, isFatal);
         end;
 
     allOK:= allOK and (Assert or (not isFatal));