- delete set_int_floorz and set_int_ceilingz.

This commit is contained in:
Christoph Oelckers 2022-09-27 21:07:18 +02:00
parent 81456e4d33
commit 0655db77b9

View file

@ -231,8 +231,6 @@ struct sectortype
const double floorz, ceilingz;
sectortype(double a = 0, double b = 0) : ceilingz(a), floorz(b) {}
void set_int_ceilingz(int cc, bool temp = false) {}
void set_int_floorz(int cc, bool temp = false) {}
#else
// Do not change directly!
@ -243,9 +241,6 @@ struct sectortype
void addceilingz(double cc, bool temp = false);
void addfloorz(double cc, bool temp = false);
void set_int_ceilingz(int cc, bool temp = false) { setceilingz(cc * zinttoworld, temp); }
void set_int_floorz(int cc, bool temp = false) { setfloorz(cc * zinttoworld, temp); }
void setzfrommap(int c, int f)
{
ceilingz = c * zmaptoworld;