Merge branch 'master' into scripting
Conflicts: src/actor.h src/p_local.h src/thingdef/thingdef_codeptr.cpp
This commit is contained in:
commit
b73e1e65f5
5 changed files with 164 additions and 146 deletions
|
|
@ -2640,10 +2640,7 @@ CCMD (loopsound)
|
|||
}
|
||||
else
|
||||
{
|
||||
AActor *icon = Spawn("SpeakerIcon", players[consoleplayer].mo->x,
|
||||
players[consoleplayer].mo->y,
|
||||
players[consoleplayer].mo->z + 32*FRACUNIT,
|
||||
ALLOW_REPLACE);
|
||||
AActor *icon = Spawn("SpeakerIcon", players[consoleplayer].mo->PosPlusZ(32*FRACUNIT), ALLOW_REPLACE);
|
||||
if (icon != NULL)
|
||||
{
|
||||
S_Sound(icon, CHAN_BODY | CHAN_LOOP, id, 1.f, ATTN_IDLE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue