share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua
changeset 15084 5ff651c926ef
parent 15081 3a561db2a71c
child 15086 9f2374425744
equal deleted inserted replaced
15083:c942f65c09a6 15084:5ff651c926ef
   273 		heroDeath()
   273 		heroDeath()
   274 		permitCaptainLimeDeath = true
   274 		permitCaptainLimeDeath = true
   275 	end
   275 	end
   276 	if CurrentHedgehog and GetY(CurrentHedgehog) > 1350 then
   276 	if CurrentHedgehog and GetY(CurrentHedgehog) > 1350 then
   277 		SetWind(-40)
   277 		SetWind(-40)
       
   278 	end
       
   279 end
       
   280 
       
   281 function onGearAdd(gear)
       
   282 	-- Delete sticky flames to reduce the waiting time after blowing up the barrels
       
   283 	if GetGearType(gear) == gtFlame and band(GetState(gear), gsttmpFlag) ~= 0 then
       
   284 		DeleteGear(gear)
   278 	end
   285 	end
   279 end
   286 end
   280 
   287 
   281 function onGearDelete(gear)
   288 function onGearDelete(gear)
   282 	if gear == hero.gear then
   289 	if gear == hero.gear then