Skip to content

Commit

Permalink
TSG: remove not anymore needed macro
Browse files Browse the repository at this point in the history
The alternative message was needed for the scenario where Deoran is not on the map.
This has been removed, and in the other which is left (S8b), both units won't be around.

The only places left for this message is the last level in path B and the lasts ind path A
It's not necessary that there is an alternative message, this is only used there because
it exists already – both would fit.

[ci skip]
  • Loading branch information
sevu committed Oct 12, 2019
1 parent e6c4e7d commit 68dd5c8
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions data/campaigns/The_South_Guard/utils/sg_deaths.cfg
Expand Up @@ -5,8 +5,6 @@

#define SG_DEATHS_HYLAS_LATE
#enddef
#define SG_DEATHS_JAREK_ALTERNATIVE
#enddef

#endif

Expand Down Expand Up @@ -101,14 +99,15 @@
[filter]
id=Jarek
[/filter]
#ifndef SG_DEATHS_JAREK_ALTERNATIVE
#ifndef SG_DEATHS_LAST_LEVEL
[message]
speaker=unit
message= _ "Far from home I fall — but not in vain! Defend our people, Deoran!"
[/message]
#else
[message]
speaker=unit
# po: Alternative message used in the last scenario.
message= _ "Far from home I fall — but not in vain!"
[/message]
#endif
Expand All @@ -121,14 +120,8 @@

#ifdef SG_DEATHS_LAST_LEVEL
#undef SG_DEATHS_LAST_LEVEL
#undef SG_DEATHS_HYLAS_LATE
#undef SG_DEATHS_JAREK_ALTERNATIVE
#endif

#ifdef SG_DEATHS_HYLAS_LATE
#undef SG_DEATHS_HYLAS_LATE
#endif

#ifdef SG_DEATHS_JAREK_ALTERNATIVE
#undef SG_DEATHS_JAREK_ALTERNATIVE
#endif

0 comments on commit 68dd5c8

Please sign in to comment.