- all those 'actor->SetZ(actor->Z() +...) calls weren't pretty so now there's an AddZ method, too.
This commit is contained in:
parent
c8052ce1b8
commit
ef7be016c4
9 changed files with 13 additions and 13 deletions
|
|
@ -3107,7 +3107,7 @@ FUNC(LS_GlassBreak)
|
|||
{
|
||||
glass = Spawn("GlassJunk", x, y, ONFLOORZ, ALLOW_REPLACE);
|
||||
|
||||
glass->SetZ(glass->Z() + 24 * FRACUNIT);
|
||||
glass->AddZ(24 * FRACUNIT);
|
||||
glass->SetState (glass->SpawnState + (pr_glass() % glass->health));
|
||||
an = pr_glass() << (32-8);
|
||||
glass->angle = an;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue