mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Sound fix
git-svn-id: https://svn.eduke32.com/eduke32@553 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0b1f6f91a9
commit
3fcc3771bd
2 changed files with 3 additions and 2 deletions
|
@ -1239,7 +1239,9 @@ static void movefx(void)
|
|||
if (p == myconnectindex && ps[p].cursectnum == s->sectnum)
|
||||
{
|
||||
j = s->lotag+((unsigned)global_random%(s->hitag+1));
|
||||
if (j < NUM_SOUNDS && sounds[j])
|
||||
sound(j);
|
||||
else OSD_Printf("WARNING: invalid sound #%d\n",j);
|
||||
T5 = 26*40 + (global_random%(26*40));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4650,7 +4650,6 @@ static void InitProjectiles(void)
|
|||
projectile[i].offset = 448;
|
||||
projectile[i].bounces = numfreezebounces;
|
||||
projectile[i].bsound = PIPEBOMB_BOUNCE;
|
||||
// defaultprojectile[i] = projectile[i];
|
||||
}
|
||||
Bmemcpy(&defaultprojectile, &projectile, sizeof(projectile));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue