mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 00:40:56 +00:00
Fix invalid sector sound
This commit is contained in:
parent
337dea13e6
commit
c970aebb54
2 changed files with 4 additions and 3 deletions
|
@ -2562,7 +2562,7 @@ void PostProcess()
|
||||||
if (SectSpeed[i] && SectDepth[i] && !(SectFlag[i] & kSectLava))
|
if (SectSpeed[i] && SectDepth[i] && !(SectFlag[i] & kSectLava))
|
||||||
{
|
{
|
||||||
SectSoundSect[i] = i;
|
SectSoundSect[i] = i;
|
||||||
SectSound[i] = StaticSound[kSound62];
|
SectSound[i] = StaticSound[kSound43];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -2587,7 +2587,7 @@ void PostProcess()
|
||||||
{
|
{
|
||||||
var_20 = xVal + yVal;
|
var_20 = xVal + yVal;
|
||||||
SectSoundSect[i] = j;
|
SectSoundSect[i] = j;
|
||||||
SectSound[i] = j;
|
SectSound[i] = StaticSound[kSound43];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,8 @@ enum {
|
||||||
kSound39,
|
kSound39,
|
||||||
kSound40,
|
kSound40,
|
||||||
kSound41,
|
kSound41,
|
||||||
kSound42 = 42,
|
kSound42,
|
||||||
|
kSound43,
|
||||||
kSound47 = 47,
|
kSound47 = 47,
|
||||||
kSound48 = 48,
|
kSound48 = 48,
|
||||||
kSoundQTail = 50,
|
kSoundQTail = 50,
|
||||||
|
|
Loading…
Reference in a new issue