mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 16:32:50 +00:00
Updating CLEAR_FOG and UNCLEAR_FOG for multiturn fog.
(Keeps them behaving as in 1.10, for compatibility.)
This commit is contained in:
parent
5af9441074
commit
7a582e8d1d
@ -94,12 +94,14 @@
|
||||
|
||||
#define CLEAR_FOG SIDE X Y RADIUS
|
||||
# Clears fog in a specific area for the given side.
|
||||
# This will persist until {UNCLEAR_FOG} (below) is used.
|
||||
[lift_fog]
|
||||
[filter_side]
|
||||
side={SIDE}
|
||||
[/filter_side]
|
||||
x,y={X},{Y}
|
||||
radius={RADIUS}
|
||||
multiturn=yes
|
||||
[/lift_fog]
|
||||
#enddef
|
||||
|
||||
@ -107,7 +109,6 @@
|
||||
# Restores fog that was temporarily cleared (check CLEAR_FOG above). Only
|
||||
# one UNCLEAR_FOG is required no matter how many times CLEAR_FOG was used.
|
||||
[reset_fog]
|
||||
reset_view=yes
|
||||
[/reset_fog]
|
||||
#enddef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user