mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-11 02:23:09 +00:00
Start bustable FOF sounds at the correct height
This commit is contained in:
parent
ce15c47a4d
commit
6d415c3d9c
1 changed files with 3 additions and 4 deletions
|
|
@ -2149,12 +2149,11 @@ void EV_CrumbleChain(sector_t *sec, ffloor_t *rover)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef controlsec
|
sec->soundorg.z = (controlsec->floorheight + controlsec->ceilingheight)/2;
|
||||||
|
|
||||||
// soundorg z height never gets set normally, so MEH.
|
|
||||||
sec->soundorg.z = sec->floorheight;
|
|
||||||
S_StartSound(&sec->soundorg, mobjinfo[type].activesound);
|
S_StartSound(&sec->soundorg, mobjinfo[type].activesound);
|
||||||
|
|
||||||
|
#undef controlsec
|
||||||
|
|
||||||
// Find the outermost vertexes in the subsector
|
// Find the outermost vertexes in the subsector
|
||||||
for (i = 0; i < sec->linecount; i++)
|
for (i = 0; i < sec->linecount; i++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue