have the waterlevel variable reflect the actual value of the map

This commit is contained in:
ac-stef
2014-05-15 11:43:37 +02:00
parent ff8aea940d
commit 2c2395d97a
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -502,7 +502,7 @@ bool empty_world(int factor, bool force) // main empty world creation routine
{ // all-new map
memset(&hdr, 0, sizeof(header));
formatstring(hdr.maptitle)("Untitled Map by %s", player1->name);
hdr.waterlevel = -100000;
setvar("waterlevel", (hdr.waterlevel = -100000));
setwatercolor();
loopk(3) loopi(256) hdr.texlists[k][i] = i;
ents.shrink(0);