--- a/hedgewars/uScript.pas Mon Feb 19 17:03:59 2018 +0100
+++ b/hedgewars/uScript.pas Tue Feb 20 14:03:46 2018 +0100
@@ -2869,7 +2869,7 @@
function lc_setgearaihints(L : Plua_State) : LongInt; Cdecl;
var gear: PGear;
begin
- if CheckLuaParamCount(L, 2, 'SetAIHintOnGear', 'gearUid, aiHints') then
+ if CheckLuaParamCount(L, 2, 'SetGearAIHints', 'gearUid, aiHints') then
begin
gear:= GearByUID(Trunc(lua_tonumber(L, 1)));
if gear <> nil then
--- a/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua Mon Feb 19 17:03:59 2018 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua Tue Feb 20 14:03:46 2018 +0100
@@ -510,7 +510,7 @@
function setAIHints()
for i = 0, #hhs do
if mutant == nil or hhs[i] == mutant or CurrentHedgehog == mutant or getGearValue(CurrentHedgehog, "Feeder") then
- SetGearAIHints(hhs[i], aihUsual)
+ SetGearAIHints(hhs[i], aihUsualProcessing)
else
SetGearAIHints(hhs[i], aihDoesntMatter)
end