- more coordinate refactoring in p_enemy.cpp.

This commit is contained in:
Christoph Oelckers 2016-01-17 22:13:17 +01:00
commit a65ff39872
3 changed files with 48 additions and 53 deletions

View file

@ -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;