mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +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))
|
||||
{
|
||||
SectSoundSect[i] = i;
|
||||
SectSound[i] = StaticSound[kSound62];
|
||||
SectSound[i] = StaticSound[kSound43];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2587,7 +2587,7 @@ void PostProcess()
|
|||
{
|
||||
var_20 = xVal + yVal;
|
||||
SectSoundSect[i] = j;
|
||||
SectSound[i] = j;
|
||||
SectSound[i] = StaticSound[kSound43];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,8 @@ enum {
|
|||
kSound39,
|
||||
kSound40,
|
||||
kSound41,
|
||||
kSound42 = 42,
|
||||
kSound42,
|
||||
kSound43,
|
||||
kSound47 = 47,
|
||||
kSound48 = 48,
|
||||
kSoundQTail = 50,
|
||||
|
|
Loading…
Reference in a new issue