ASA ice01: Clear hero's gear message when entering no-fly zone
authorWuzzy <Wuzzy2@mail.ru>
Wed, 16 Jan 2019 21:32:25 +0100
changeset 14615 c3c0f94a5333
parent 14614 efa2bdeadd79
child 14616 4638aa2ea8f2
ASA ice01: Clear hero's gear message when entering no-fly zone
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Wed Jan 16 21:16:57 2019 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Wed Jan 16 21:32:25 2019 +0100
@@ -439,6 +439,7 @@
 	if not heroVisitedAntiFlyArea then
 		EndTurn(true)
 		FollowGear(hero.gear)
+		SetGearMessage(hero.gear, band(GetGearMessage(hero.gear), bnot(gmAllStoppable)))
 		AnimSwitchHog(bandit1.gear)
 		FollowGear(hero.gear)
 		HogSay(hero.gear, loc("My flying saucer stopped working!"), SAY_THINK)