Fix bad LuaGoals comparison for pas2c builds
authorWuzzy <Wuzzy2@mail.ru>
Fri, 27 Oct 2017 17:50:20 +0200
changeset 12787 a6f51ac9a3f2
parent 12786 577390d8e35c
child 12788 8aa82e350b8e
Fix bad LuaGoals comparison for pas2c builds
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Fri Oct 27 06:35:04 2017 +0200
+++ b/hedgewars/uWorld.pas	Fri Oct 27 17:50:20 2017 +0200
@@ -171,7 +171,7 @@
 g:= ''; // no text/things to note yet
 
 // add custom goals from lua script if there are any
-if LuaGoals <> '' then
+if LuaGoals <> ansistring('') then
     g:= LuaGoals + '|';
 
 // check different game flags