Start bustable FOF sounds at the correct height
This commit is contained in:
1 parent
df842b981c
commit
7ea07ec3b0
1 file changed
+1
-2
+1
-2
@@ -3002,8 +3002,7 @@ void EV_CrumbleChain(sector_t *sec, ffloor_t *rover)
|
||||
if (GETSECSPECIAL(rover->master->frontsector->special, 3) >= 8)
|
||||
type = MT_ROCKCRUMBLE1+(GETSECSPECIAL(rover->master->frontsector->special, 3)-7);
|
||||
|
||||
// soundorg z height never gets set normally, so MEH.
|
||||
sec->soundorg.z = sec->floorheight;
|
||||
sec->soundorg.z = (rover->master->frontsector->floorheight + rover->master->frontsector->ceilingheight)/2;
|
||||
S_StartSound(&sec->soundorg, sfx_crumbl);
|
||||
|
||||
// Find the outermost vertexes in the subsector
|
||||
|
||||
Reference in new issue
Block a user