Stop phasers getting stuck firing at end of Mission1

This commit is contained in:
stevenhowes
2021-05-18 21:22:16 +01:00
parent 64a7ce0d53
commit 82fa55157f
4 changed files with 6 additions and 14 deletions
Binary file not shown.
+2 -8
View File
@@ -52,12 +52,8 @@ o.Graphics: c.Graphics
o.Graphics: C:h.swis
o.Graphics: C:h.kernel
o.Graphics: C:h.kernel
o.CTheEscape: c.CTheEscape
o.CTheEscape: C:h.swis
o.CTheEscape: C:h.kernel
o.CTheEscape: C:h.kernel
o.CTheEscape: h.Sound
o.CTheEscape: h.Graphics
o.Intro: c.Intro
o.Intro: h.Graphics
o.CTheEscape: c.CTheEscape
o.CTheEscape: C:h.swis
o.CTheEscape: C:h.kernel
@@ -69,8 +65,6 @@ o.Sound: C:h.swis
o.Sound: C:h.kernel
o.Sound: C:h.kernel
o.Sound: h.Sound
o.Intro: c.Intro
o.Intro: h.Graphics
o.Mission1: c.Mission1
o.Mission1: h.Graphics
o.Mission1: h.Sound
-6
View File
@@ -57,12 +57,6 @@ o.MapEdit: C:h.kernel
o.MapEdit: C:h.kernel
o.MapEdit: h.Sound
o.MapEdit: h.Graphics
o.MapEdit: c.MapEdit
o.MapEdit: C:h.swis
o.MapEdit: C:h.kernel
o.MapEdit: C:h.kernel
o.MapEdit: h.Sound
o.MapEdit: h.Graphics
o.Graphics: c.Graphics
o.Graphics: C:h.swis
o.Graphics: C:h.kernel
+4
View File
@@ -1031,6 +1031,10 @@ int game1_tick()
return 2;
}else if (Player.remainingdistance <= 120000)
{
// Stop firing phasers so they dont get stuck
Player.firingleft = 0;
Player.firingright = 0;
if(Player.remainingdistance <= 80000)
{
PROFILE(game_draw_tractor());