mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
- do not play the random sword selection sounds on a map's very first tic.
This tends to interfere with map specific voice lines. Fixes #214
This commit is contained in:
parent
c2fd4d3d18
commit
cbe4618a91
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ InitWeaponSword(PLAYERp pp)
|
||||||
|
|
||||||
PlaySound(DIGI_SWORD_UP, pp, v3df_follow|v3df_dontpan);
|
PlaySound(DIGI_SWORD_UP, pp, v3df_follow|v3df_dontpan);
|
||||||
|
|
||||||
if (pp == Player+myconnectindex)
|
if (pp == Player+myconnectindex && totalclock > 0)
|
||||||
{
|
{
|
||||||
rnd_num = STD_RANDOM_RANGE(1024);
|
rnd_num = STD_RANDOM_RANGE(1024);
|
||||||
if (rnd_num > 900)
|
if (rnd_num > 900)
|
||||||
|
|
Loading…
Reference in a new issue