Fix Lua error spam in "Chasing the blue hog" after drowning both Crazy Runner and Hog Solo
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua Sat Nov 21 21:11:13 2015 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua Sat Nov 21 21:23:05 2015 +0100
@@ -184,7 +184,8 @@
------------- other functions ---------------
function isHeroNextToRunner()
- if GetHealth(hero.gear) and math.abs(GetX(hero.gear) - GetX(runner.gear)) < 75 and
+ if GetGearType(hero.gear) == gtHedgehog and GetGearType(runner.gear) == gtHedgehog and
+ math.abs(GetX(hero.gear) - GetX(runner.gear)) < 75 and
math.abs(GetY(hero.gear) - GetY(runner.gear)) < 75 and StoppedGear(hero.gear) then
return true
end