- floatification of sector_t::centerspot.
This commit is contained in:
parent
30b57fd7b0
commit
35bb686281
9 changed files with 52 additions and 47 deletions
|
|
@ -709,8 +709,8 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector,
|
|||
}
|
||||
else
|
||||
{
|
||||
x = sector->centerspot.x;
|
||||
z = sector->centerspot.y;
|
||||
x = sector->_f_centerspot().x;
|
||||
z = sector->_f_centerspot().y;
|
||||
chanflags |= CHAN_LISTENERZ;
|
||||
}
|
||||
}
|
||||
|
|
@ -777,8 +777,8 @@ static void CalcSectorSoundOrg(const sector_t *sec, int channum, fixed_t *x, fix
|
|||
}
|
||||
else
|
||||
{
|
||||
*x = sec->centerspot.x;
|
||||
*y = sec->centerspot.y;
|
||||
*x = sec->_f_centerspot().x;
|
||||
*y = sec->_f_centerspot().y;
|
||||
}
|
||||
|
||||
// Set sound vertical position based on channel.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue