- 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:
Christoph Oelckers 2020-08-19 19:07:06 +02:00
parent c2fd4d3d18
commit cbe4618a91

View file

@ -978,7 +978,7 @@ InitWeaponSword(PLAYERp pp)
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);
if (rnd_num > 900)