diff -r ba5d5a2f4c4b -r 81391b54b078 hedgewars/uScript.pas --- a/hedgewars/uScript.pas Sat Nov 13 15:32:53 2010 -0500 +++ b/hedgewars/uScript.pas Sat Nov 13 23:08:33 2010 +0100 @@ -1126,6 +1126,7 @@ ScriptSetInteger('gfResetWeps', gfResetWeps); ScriptSetInteger('gfPerHogAmmo', gfPerHogAmmo); ScriptSetInteger('gfDisableWind', gfDisableWind); +ScriptSetInteger('gfMoreWind', gfMoreWind); ScriptSetInteger('gmLeft', gmLeft); ScriptSetInteger('gmRight', gmRight); @@ -1184,6 +1185,7 @@ lua_register(luaState, 'AddTeam', @lc_addteam); lua_register(luaState, 'AddHog', @lc_addhog); lua_register(luaState, 'SetHealth', @lc_sethealth); +lua_register(luaState, 'GetHealth', @lc_gethealth); lua_register(luaState, 'SetEffect', @lc_seteffect); lua_register(luaState, 'GetHogClan', @lc_gethogclan); lua_register(luaState, 'GetHogTeamName', @lc_gethogteamname); @@ -1200,7 +1202,6 @@ lua_register(luaState, 'SetTag', @lc_settag); lua_register(luaState, 'SetTimer', @lc_settimer); lua_register(luaState, 'GetTimer', @lc_gettimer); -lua_register(luaState, 'GetHealth', @lc_gethealth); lua_register(luaState, 'SetZoom', @lc_setzoom); lua_register(luaState, 'GetZoom', @lc_getzoom); lua_register(luaState, 'HogSay', @lc_hogsay);