- more coordinate refactoring in p_enemy.cpp.
This commit is contained in:
parent
be91771abc
commit
a65ff39872
3 changed files with 48 additions and 53 deletions
|
|
@ -3107,7 +3107,7 @@ FUNC(LS_GlassBreak)
|
|||
{
|
||||
glass = Spawn("GlassJunk", x, y, ONFLOORZ, ALLOW_REPLACE);
|
||||
|
||||
glass->z += 24 * FRACUNIT;
|
||||
glass->SetZ(glass->z + 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