improve CALL_FUNCTION macro
(bug #19805, http://forums.wesnoth.org/viewtopic.php?f=21&t=36989&p=531212)
This commit is contained in:
parent
6f48761f93
commit
5ac6b5a876
1 changed files with 6 additions and 4 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue