THoT S12: After breaking down a door or teleporting, clear the shroud 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.
This commit is contained in:
Steve Cotton 2019-05-25 06:48:07 +02:00 committed by jostephd
parent 1f6a29a74c
commit 4e6fa62a9f

View file

@ -487,7 +487,10 @@
y=18,19
terrain=Ur^Pr/o
[/terrain]
[redraw][/redraw]
[redraw]
clear_shroud=yes
side=1
[/redraw]
[delay]
time=1000
@ -553,7 +556,10 @@
x,y=43,6
terrain=Ur^Pr/o
[/terrain]
[redraw][/redraw]
[redraw]
clear_shroud=yes
side=1
[/redraw]
[/event]
[event]
@ -585,7 +591,10 @@
x,y=41,37
terrain=Ur^Pr\o
[/terrain]
[redraw][/redraw]
[redraw]
clear_shroud=yes
side=1
[/redraw]
[/event]
#########################################################################################
@ -811,6 +820,11 @@
[kill]
x,y=$x1,$y1
[/kill]
[redraw]
clear_shroud=yes
side=1
[/redraw]
[/event]
[event]
@ -972,6 +986,11 @@
[kill]
x,y=$x1,$y1
[/kill]
[redraw]
clear_shroud=yes
side=1
[/redraw]
[/event]
[event]