--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua Tue Oct 24 04:48:20 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua Tue Oct 24 06:25:12 2017 +0200
@@ -474,6 +474,8 @@
function DeployHog()
if not hogDeployed then
+ -- Steal switch to force the deployed hog to be on its own
+ AddAmmo(deployedHog, amSwitch, 0)
AnimSwitchHog(deployedHog)
AnimTeleportGear(deployedHog, unpack(deployedPos))
if deployedHog ~= natives[wiseNum] then
@@ -1070,6 +1072,11 @@
if stage == platformStage then
AddCaption(string.format(loc("Turns until arrival: %d"), TurnsLeft))
end
+ if deployedHog then
+ if GetHogTeamName(CurrentHedgehog) == loc("Natives") then
+ AnimSwitchHog(deployedHog)
+ end
+ end
if stage == spyKillStage then
if CurrentHedgehog == spyHog or GetHogTeamName(CurrentHedgehog) ~= loc("Natives") then