Skip to content

Commit

Permalink
THoT S12: After breaking down a door or teleporting, clear the shroud…
Browse files Browse the repository at this point in the history
… if needed

Otherwise the shroud doesn't update until the unit moves again.  When
teleporting that could lead to the unit being stuck in a shrouded location,
although that's unlike to happen except when running around the map using debug
commands.
  • Loading branch information
stevecotton authored and jostephd committed May 25, 2019
1 parent 1f6a29a commit 4e6fa62
Showing 1 changed file with 22 additions and 3 deletions.
Expand Up @@ -487,7 +487,10 @@
y=18,19
terrain=Ur^Pr/o
[/terrain]
[redraw][/redraw]
[redraw]
clear_shroud=yes
side=1
[/redraw]

[delay]
time=1000
Expand Down Expand Up @@ -553,7 +556,10 @@
x,y=43,6
terrain=Ur^Pr/o
[/terrain]
[redraw][/redraw]
[redraw]
clear_shroud=yes
side=1
[/redraw]
[/event]

[event]
Expand Down Expand Up @@ -585,7 +591,10 @@
x,y=41,37
terrain=Ur^Pr\o
[/terrain]
[redraw][/redraw]
[redraw]
clear_shroud=yes
side=1
[/redraw]
[/event]

#########################################################################################
Expand Down Expand Up @@ -811,6 +820,11 @@
[kill]
x,y=$x1,$y1
[/kill]

[redraw]
clear_shroud=yes
side=1
[/redraw]
[/event]

[event]
Expand Down Expand Up @@ -972,6 +986,11 @@
[kill]
x,y=$x1,$y1
[/kill]

[redraw]
clear_shroud=yes
side=1
[/redraw]
[/event]

[event]
Expand Down

0 comments on commit 4e6fa62

Please sign in to comment.