# HG changeset patch # User Wuzzy # Date 1509119420 -7200 # Node ID a6f51ac9a3f239ae04f0df87dc5c8945dc89ee6d # Parent 577390d8e35c8cb517492d78dc5970fb0691ba11 Fix bad LuaGoals comparison for pas2c builds diff -r 577390d8e35c -r a6f51ac9a3f2 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