hedgewars/uAI.pas
changeset 11532 bf86c6cb9341
parent 11475 1d478892cf1c
child 11538 00860966354d
--- a/hedgewars/uAI.pas	Sun Jan 24 00:02:57 2016 +0100
+++ b/hedgewars/uAI.pas	Sun Jan 31 16:07:14 2016 +0300
@@ -552,7 +552,7 @@
                 if Gear^.Message <> 0 then
                     begin
                     StopMessages(Gear^.Message);
-                    TryDo((Gear^.Message and gmAllStoppable) = 0, 'Engine bug: AI may break demos playing', true);
+                    if checkFails((Gear^.Message and gmAllStoppable) = 0, 'Engine bug: AI may break demos playing', true) then exit;
                     end;
 
                 if Gear^.Message <> 0 then