pas2c-whoops
authorsheepluva
Wed, 03 Dec 2014 18:49:10 +0100
changeset 10622 9551211455a3
parent 10621 b50e094d8b00
child 10623 81f1cf934827
pas2c-whoops
hedgewars/hwengine.pas
hedgewars/uConsts.pas
--- a/hedgewars/hwengine.pas	Wed Dec 03 18:32:37 2014 +0100
+++ b/hedgewars/hwengine.pas	Wed Dec 03 18:49:10 2014 +0100
@@ -589,7 +589,7 @@
 
     if cTestLua then
         begin
-        WriteLnToConsole('WARNING: Lua test terminated before the test was properly finished with EndLuaTest()!');
+        WriteLnToConsole(errmsgLuaTestTerm);
         {$IFDEF PAS2C}
         exit(HaltTestUnexpected);
         {$ELSE}
--- a/hedgewars/uConsts.pas	Wed Dec 03 18:32:37 2014 +0100
+++ b/hedgewars/uConsts.pas	Wed Dec 03 18:49:10 2014 +0100
@@ -49,6 +49,7 @@
     errmsgIncorrectUse    = 'Incorrect use';
     errmsgShouldntRun     = 'This program shouldn''t be run manually';
     errmsgWrongNumber     = 'Wrong parameters number';
+    errmsgLuaTestTerm     = 'WARNING: Lua test terminated before the test was properly finished with EndLuaTest()!';
 
     msgLoading           = 'Loading ';
     msgOK                = 'ok';