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
Sven Eberhardt 2015-10-16 00:26:43 -04:00
parent b060874732
commit b274067746
1 changed files with 3 additions and 0 deletions

View File

@ -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];