--- a/hedgewars/uScript.pas Sat Feb 07 23:25:33 2015 +0300
+++ b/hedgewars/uScript.pas Sat Feb 14 17:34:12 2015 -0500
@@ -2309,7 +2309,7 @@
begin
if CheckLuaParamCount(L, 5, 'TestRectForObstacle', 'x1, y1, x2, y2, landOnly') then
begin
- rtn:= TestRectancleForObstacle(
+ rtn:= TestRectangleForObstacle(
lua_tointeger(L, 1),
lua_tointeger(L, 2),
lua_tointeger(L, 3),
@@ -3027,7 +3027,7 @@
ScriptSetInteger('gstAttacked' , gstAttacked);
ScriptSetInteger('gstAttacking' , gstAttacking);
ScriptSetInteger('gstCollision' , gstCollision);
-ScriptSetInteger('gstHHChooseTarget', gstHHChooseTarget);
+ScriptSetInteger('gstChooseTarget', gstChooseTarget);
ScriptSetInteger('gstHHJumping' , gstHHJumping);
ScriptSetInteger('gsttmpFlag' , gsttmpFlag);
ScriptSetInteger('gstHHThinking' , gstHHThinking);