mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
Re-allow MUSICANDSFX ambient sounds with a hitag in the interval [32768, 65535].
git-svn-id: https://svn.eduke32.com/eduke32@6647 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9cf6c85623
commit
f2538230b7
1 changed files with 2 additions and 2 deletions
|
@ -1360,7 +1360,7 @@ ACTOR_STATIC void G_MoveFX(void)
|
|||
|
||||
case MUSICANDSFX__STATIC:
|
||||
{
|
||||
int const spriteHitag = pSprite->hitag;
|
||||
int32_t const spriteHitag = (uint16_t)pSprite->hitag;
|
||||
DukePlayer_t *const pPlayer = g_player[screenpeek].ps;
|
||||
|
||||
if (T2(spriteNum) != ud.config.SoundToggle)
|
||||
|
@ -1372,7 +1372,7 @@ ACTOR_STATIC void G_MoveFX(void)
|
|||
|
||||
if (pSprite->lotag >= 1000 && pSprite->lotag < 2000)
|
||||
{
|
||||
int playerDist = ldist(&sprite[pPlayer->i],pSprite);
|
||||
int32_t playerDist = ldist(&sprite[pPlayer->i], pSprite);
|
||||
|
||||
#ifdef SPLITSCREEN_MOD_HACKS
|
||||
if (g_fakeMultiMode==2)
|
||||
|
|
Loading…
Reference in a new issue