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.


SVN r55 (trunk)
This commit is contained in:
Christoph Oelckers 2006-04-20 00:25:30 +00:00
parent 8e631eca0b
commit b2b729fd37
2 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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;