hedgewars/uWorld.pas
changeset 12787 a6f51ac9a3f2
parent 12719 637b1987570e
child 12793 575c0de98505
equal deleted inserted replaced
12786:577390d8e35c 12787:a6f51ac9a3f2
   169 
   169 
   170 // if special game flags/settings are changed, add them to the game mode notice window and then show it
   170 // if special game flags/settings are changed, add them to the game mode notice window and then show it
   171 g:= ''; // no text/things to note yet
   171 g:= ''; // no text/things to note yet
   172 
   172 
   173 // add custom goals from lua script if there are any
   173 // add custom goals from lua script if there are any
   174 if LuaGoals <> '' then
   174 if LuaGoals <> ansistring('') then
   175     g:= LuaGoals + '|';
   175     g:= LuaGoals + '|';
   176 
   176 
   177 // check different game flags
   177 // check different game flags
   178 g:= AddGoal(g, gfPlaceHog, gidPlaceHog); // placement?
   178 g:= AddGoal(g, gfPlaceHog, gidPlaceHog); // placement?
   179 g:= AddGoal(g, gfKing, gidKing); // king?
   179 g:= AddGoal(g, gfKing, gidKing); // king?