Fixed the traveler's ring part of bug #22790

This commit is contained in:
ln-zookeeper 2014-10-20 23:14:58 +03:00
parent b3488354cc
commit b5b97bb574

View file

@ -487,19 +487,25 @@
image=wesnoth-icon.png
[/message]
[store_locations]
x,y=$x1,$y1
variable=ring_loc
[/store_locations]
[event]
name=moveto
id=take_traveler_ring
delayed_variable_substitution=no
delayed_variable_substitution=yes
first_time_only=no
[filter]
x=$x1
y=$y1
side=1
[not]
type=Dust Devil
[/not]
[filter_location]
find_in=ring_loc
[/filter_location]
[/filter]
[message]
@ -541,6 +547,8 @@
id=take_traveler_ring
remove=true
[/event]
{CLEAR_VARIABLE ring_loc}
[/command]
[/option]