mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
Fix audio position updating in automap mode
git-svn-id: https://svn.eduke32.com/eduke32@7766 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
465403a199
commit
31f66f7de4
1 changed files with 13 additions and 3 deletions
|
@ -876,9 +876,19 @@ void S_Update(void)
|
|||
|
||||
if (ud.camerasprite == -1)
|
||||
{
|
||||
c = &CAMERA(pos);
|
||||
cs = CAMERA(sect);
|
||||
ca = fix16_to_int(CAMERA(q16ang));
|
||||
if (ud.overhead_on != 2)
|
||||
{
|
||||
c = &CAMERA(pos);
|
||||
cs = CAMERA(sect);
|
||||
ca = fix16_to_int(CAMERA(q16ang));
|
||||
}
|
||||
else
|
||||
{
|
||||
auto pPlayer = g_player[screenpeek].ps;
|
||||
c = &pPlayer->pos;
|
||||
cs = pPlayer->cursectnum;
|
||||
ca = fix16_to_int(pPlayer->q16ang);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue