diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 7bd3b86071..787305967a 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,7 @@ +April 19, 2006 (Changes by Graf Zahl) +- Fixed: Hexen had no default sound sequence for doors and passed a NULL + pointer to SN_StartSequence in DoorSound. + April 18, 2006 (Changes by Graf Zahl) - Fixed A_CHolyAttack used linetarget to set the spirits' target actor. But it assumed that this variable was still valid from shooting the diff --git a/src/p_doors.cpp b/src/p_doors.cpp index 51c9fec719..01b2b010f1 100644 --- a/src/p_doors.cpp +++ b/src/p_doors.cpp @@ -215,10 +215,14 @@ void DDoor::DoorSound (bool raise) const { switch (gameinfo.gametype) { - default: - snd = NULL; - break; + + default: + break; + case GAME_Hexen: + snd = "DoorNormal"; + break; + case GAME_Heretic: snd = raise ? "HereticDoorOpen" : "HereticDoorClose"; break;