improve CALL_FUNCTION macro

(bug #19805, http://forums.wesnoth.org/viewtopic.php?f=21&t=36989&p=531212)
This commit is contained in:
Anonymissimus 2012-06-14 14:26:21 +00:00
parent 6f48761f93
commit 5ac6b5a876

View file

@ -26,11 +26,13 @@
[fire_event]
name={EVENT_NAME}
[primary_unit]
x,y=$unit.x,$unit.y
x=$x1
y=$y1
[/primary_unit]
[second_unit]
x,y=$second_unit.x,$second_unit.y
[/second_unit]
[secondary_unit]
x=$x2
y=$y2
[/secondary_unit]
[/fire_event]
[clear_variable]
name=param[0]