- Replaced several calls to S_GetSoundPlayingInfo with S_IsActorPlayingSomething
because S_GetSoundPlayingInfo cannot properly resolve player and random sounds. - Fixed: S_IsActorPlayingSomething has to resolve aliases and player sounds. - Took S_ParseSndSeq call out of S_Init. This doesn't work when parsing SNDINFO in D_DoomMain. - Moved SNDINFO reading back to its old place after MAPINFO. This is necessary for Hexen's music definitions. SVN r425 (trunk)
This commit is contained in:
parent
558a18cf5c
commit
2b6203f950
8 changed files with 54 additions and 16 deletions
|
|
@ -2074,11 +2074,6 @@ void D_DoomMain (void)
|
|||
// Base systems have been inited; enable cvar callbacks
|
||||
FBaseCVar::EnableCallbacks ();
|
||||
|
||||
// [RH] Parse any SNDINFO lumps
|
||||
Printf ("S_ParseSndInfo: Load sound definitions.\n");
|
||||
S_ParseSndInfo ();
|
||||
S_ParseSndEax ();
|
||||
|
||||
Printf ("S_Init: Setting up sound.\n");
|
||||
S_Init ();
|
||||
|
||||
|
|
@ -2093,6 +2088,10 @@ void D_DoomMain (void)
|
|||
Printf ("G_ParseMapInfo: Load map definitions.\n");
|
||||
G_ParseMapInfo ();
|
||||
|
||||
// [RH] Parse any SNDINFO lumps
|
||||
Printf ("S_InitData: Load sound definitions.\n");
|
||||
S_InitData ();
|
||||
|
||||
FActorInfo::StaticInit ();
|
||||
|
||||
// [GRB] Initialize player class list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue