--- a/share/hedgewars/Data/Missions/Training/User_Mission_-_That_Sinking_Feeling.lua Sat Jan 23 08:11:14 2016 +0100
+++ b/share/hedgewars/Data/Missions/Training/User_Mission_-_That_Sinking_Feeling.lua Sat Jan 23 09:05:37 2016 +0100
@@ -12,6 +12,7 @@
local waterPix = 0
local frig = 0
local watGear = nil
+local cinematic = false
-- allow skipping of the intro via hitting precise key
function onPrecise()
@@ -68,6 +69,8 @@
function onGameStart()
+ cinematic = true
+ SetCinematicMode(true)
SendHealthStatsOff()
ShowMission(loc("That Sinking Feeling"), loc("Challenge"), loc("Save as many hapless hogs as possible!"), 4, 1)
@@ -207,6 +210,11 @@
-- start the water rising when the intro is finished
if introStage == 110 then
+ if cinematic then
+ SetCinematicMode(false)
+ cinematic = false
+ end
+
waterCounter = waterCounter + 1
if (waterCounter == 100) and (waterPix < 1615) then
waterCounter = 0