mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-22 03:31:26 +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
|
@ -875,12 +875,22 @@ void S_Update(void)
|
|||
int32_t ca,cs;
|
||||
|
||||
if (ud.camerasprite == -1)
|
||||
{
|
||||
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
|
||||
{
|
||||
c = (vec3_t *)&sprite[ud.camerasprite];
|
||||
cs = sprite[ud.camerasprite].sectnum;
|
||||
|
|
Loading…
Reference in a new issue