- started refactoring p_map.cpp
- added AActor::Top function to replace the frequent occurences of actor->z + actor->height.
This commit is contained in:
parent
b735138332
commit
43314f0c0d
7 changed files with 51 additions and 50 deletions
|
|
@ -3107,7 +3107,7 @@ FUNC(LS_GlassBreak)
|
|||
{
|
||||
glass = Spawn("GlassJunk", x, y, ONFLOORZ, ALLOW_REPLACE);
|
||||
|
||||
glass->SetZ(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