mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-25 23:11:20 +00:00
A_PlaySound: var2 lower 16 bits == 2, play from actor if actor target is NULL
This commit is contained in:
parent
aa82d8da77
commit
bebf9ebed7
1 changed files with 1 additions and 1 deletions
|
|
@ -7243,7 +7243,7 @@ void A_PlaySound(mobj_t *actor)
|
|||
break;
|
||||
|
||||
case 2:
|
||||
origin = actor->target;
|
||||
origin = actor->target ? actor->target : actor;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue