Skip to content

Commit

Permalink
Found reason for bug 2983971 (not fixed yet).
Browse files Browse the repository at this point in the history
There is a mixup in the map numbering here, and the wrong song lump
(or no lump at all) is chosen for "currentmap".
  • Loading branch information
skyjake committed Jun 6, 2010
1 parent f355c77 commit 592f155
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/plugins/jhexen/src/p_sound.c
Expand Up @@ -73,6 +73,8 @@ void S_MapMusic(uint episode, uint map)

// Update the 'currentmap' music definition.
Def_Set(DD_DEF_MUSIC, idx, DD_LUMP, P_GetMapSongLump(map));
// @fixme Convert @a map to the "logical" map number. -s
Con_Message("S_MapMusic: Map %i, lump %s\n", map, P_GetMapSongLump(map));
cdTrack = P_GetMapCDTrack(map);
Def_Set(DD_DEF_MUSIC, idx, DD_CD_TRACK, &cdTrack);
if(S_StartMusic("currentmap", true))
Expand Down

0 comments on commit 592f155

Please sign in to comment.