share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/journey.lua
changeset 12378 b43c00e36369
parent 12377 35e76306b016
child 12379 ad481d9d48fb
equal deleted inserted replaced
12377:35e76306b016 12378:b43c00e36369
  1053     AnimSwitchHog(leaks)
  1053     AnimSwitchHog(leaks)
  1054     SetGearMessage(leaks, 0)
  1054     SetGearMessage(leaks, 0)
  1055     TurnTimeLeft = -1
  1055     TurnTimeLeft = -1
  1056   elseif GetHogTeamName(CurrentHedgehog) ~= loc("Natives") then
  1056   elseif GetHogTeamName(CurrentHedgehog) ~= loc("Natives") then
  1057     for i = 1, 4 do
  1057     for i = 1, 4 do
  1058       if cannibalDead[i] ~= true then
  1058       if cannibalDead[i] ~= true and leaksDead ~= true then
  1059         if GetX(cannibals[i]) < GetX(leaks) then
  1059         if GetX(cannibals[i]) < GetX(leaks) then
  1060           HogTurnLeft(cannibals[i], false)
  1060           HogTurnLeft(cannibals[i], false)
  1061         else
  1061         else
  1062           HogTurnLeft(cannibals[i], true)
  1062           HogTurnLeft(cannibals[i], true)
  1063         end
  1063         end