mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-21 11:11:16 +00:00
- eliminated add_int_ceilingz
This commit is contained in:
parent
81d4ca71d7
commit
b0b5dbc55b
2 changed files with 1 additions and 5 deletions
|
@ -233,8 +233,6 @@ struct sectortype
|
|||
|
||||
void set_int_ceilingz(int cc, bool temp = false) {}
|
||||
void set_int_floorz(int cc, bool temp = false) {}
|
||||
void add_int_ceilingz(int cc, bool temp = false) {}
|
||||
void add_int_floorz(int cc, bool temp = false) {}
|
||||
|
||||
#else
|
||||
// Do not change directly!
|
||||
|
@ -247,8 +245,6 @@ struct sectortype
|
|||
|
||||
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 add_int_ceilingz(int cc, bool temp = false) { addceilingz(cc * zinttoworld, temp); }
|
||||
void add_int_floorz(int cc, bool temp = false) { addfloorz(cc * zinttoworld, temp); }
|
||||
|
||||
void setzfrommap(int c, int f)
|
||||
{
|
||||
|
|
|
@ -4509,7 +4509,7 @@ void handle_se35(DDukeActor *actor, int SMALLSMOKE, int EXPLOSION2)
|
|||
if (sc->ceilingz > actor->spr.pos.Z)
|
||||
for (int j = 0; j < 8; j++)
|
||||
{
|
||||
actor->add_int_ang(krand() & 511);
|
||||
actor->spr.angle = randomAngle(90);
|
||||
auto spawned = spawn(actor, SMALLSMOKE);
|
||||
if (spawned)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue