The alpha hack I had in mind won't work, so remove a macro argument.

This commit is contained in:
Eric S. Raymond 2008-02-15 22:46:01 +00:00
parent 9849a32839
commit d58b192981
2 changed files with 2 additions and 3 deletions

View file

@ -72,7 +72,7 @@
[event]
name="prestart"
{RANDOM_FEATURE_PLACEMENT_ON 1-40 1-35 (terrain=Gg) 50 scenery/pine1.png ()}
{SCATTER_IMAGE 1-40 1-35 (terrain=Gg) 20 scenery/pine1.png}
[unit]
type=Gryphon Rider

View file

@ -26,7 +26,7 @@
[/terrain_mask]
#enddef
#define RANDOM_FEATURE_PLACEMENT_ON X_SPAN Y_SPAN FILTER NUMBER IMAGE MOD_WML
#define SCATTER_IMAGE X_SPAN Y_SPAN FILTER NUMBER IMAGE
# Place NUMBER copies of the IMAGE on map hexes matching FILTER in the
# region specified by X_SPAN and Y_SPAN. Insert MOD_WML in the image
# declaration (useful for alpha hacks). Does not check for collisions.
@ -59,7 +59,6 @@
[item]
image={IMAGE}
x,y=$random_placement_x,$random_placement_y
{MOD_WML}
[/item]
{VARIABLE_OP REPEAT_i add 1}