ASA desert01: Clear hero gear message when battle starts
authorWuzzy <Wuzzy2@mail.ru>
Wed, 16 Jan 2019 06:45:10 +0100
changeset 14627 db163acf53d1
parent 14626 153c12b9051b
child 14628 364ab0ae4417
ASA desert01: Clear hero gear message when battle starts
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Wed Jan 16 06:37:26 2019 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Wed Jan 16 06:45:10 2019 +0100
@@ -395,6 +395,7 @@
 		dx = div(dx, 3)
 		dy = div(dy, 3)
 	end
+	SetGearMessage(hero.gear, 0)
 	EndTurn(true)
 	heroIsInBattle = true
 	AddAmmo(hero.gear, amSkip, 100)
@@ -433,6 +434,7 @@
 		dx = div(dx, 3)
 		dy = div(dy, 3)
 	end
+	SetGearMessage(hero.gear, 0)
 	AnimSwitchHog(smuggler3.gear)
 	EndTurn(true)
 	SetGearVelocity(hero.gear, dx, dy)
@@ -516,6 +518,7 @@
 		dx = div(dx, 3)
 		dy = div(dy, 3)
 	end
+	SetGearMessage(hero.gear, 0)
 	heroIsInBattle = true
 	AddAmmo(hero.gear, amSkip, 100)
 	ongoingBattle = 2