mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 18:33:25 +00:00
Added a comment for the random spawn coordinate hack.
This commit is contained in:
parent
f23b1550d1
commit
de1b494745
@ -927,6 +927,11 @@
|
||||
#enddef
|
||||
|
||||
#define DEFINE_MAIN_GROUP XX YY
|
||||
# XX is either an X coordinate (for fixed spawn position)
|
||||
# or "random" for a random location
|
||||
# chosen from the spawn_place array
|
||||
# set in DEFINE_SPAWN_LOCATION
|
||||
# (in the latter case YY is ignored)
|
||||
{VARIABLE spawn_id 0}
|
||||
{VARIABLE_OP main_group add 1}
|
||||
{VARIABLE main_spawns[$main_group].x {XX}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user