forked from Mirrors/openclonk
Fix AcidRift map (#1422).
It used "^*" to match free space, including transparent pixels. However, transparent pixels aren't matched by "^*". I think transparent pixels getting matched by "^*" was actually a bug in previous versions, which got fixed by ck's background materials implementation.shapetextures
parent
b060874732
commit
b274067746
|
@ -29,6 +29,9 @@ func InitializeMap(proplist map)
|
|||
var map_size = [[100, 200],[120, 250],[130, 400]][s];
|
||||
Resize(map_size[0], map_size[1]);
|
||||
|
||||
// Background sky to ensure "^*" can be used to place materials
|
||||
Draw("Sky");
|
||||
|
||||
// Parameters by map size and difficulty
|
||||
var acid_level = [10, 30, 40][d]; // filling (in %) of basin with acid
|
||||
var num_earth = [15, 20, 30][s];
|
||||
|
|
Loading…
Reference in New Issue