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
@@ -708,7 +708,7 @@ void movemap(int xo, int yo, int zo) // move whole map
S(x,y)->floor = max(-128, S(x,y)->floor + zo);
S(x,y)->ceil = min(127, S(x,y)->ceil + zo);
}
hdr.waterlevel += zo;
setvar("waterlevel", (hdr.waterlevel += zo));
}
loopv(ents)
{