Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed jHeretic: "Heretic: Linetype 100" (see here http://sourceforge.…
  • Loading branch information
danij committed Jul 2, 2009
1 parent a9d9b60 commit 0211e58
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions doomsday/plugins/common/src/p_door.c
Expand Up @@ -120,8 +120,12 @@ void T_Door(door_t* door)
door->state = DS_DOWN;
break;
#endif
#if __JDOOM__ || __JDOOM64__
#if __JDOOM__ || __JDOOM64__ || __JHERETIC__
# if __JHERETIC__
case DT_BLAZEOPEN:
# else
case DT_BLAZERAISE:
# endif
door->state = DS_DOWN; // Time to go back down.
S_SectorSound(door->sector, SORG_CEILING, SFX_DOORBLAZECLOSE);
break;
Expand Down Expand Up @@ -188,9 +192,13 @@ void T_Door(door_t* door)
DD_ThinkerRemove(&door->thinker); // Unlink and free.
break;
#endif
#if __JDOOM__ || __JDOOM64__
#if __JDOOM__ || __JDOOM64__ || __JHERETIC__
# if __JHERETIC__
case DT_BLAZEOPEN:
# else
case DT_BLAZERAISE:
case DT_BLAZECLOSE:
# endif
xsec->specialData = NULL;
DD_ThinkerRemove(&door->thinker); // Unlink and free.

Expand Down Expand Up @@ -271,7 +279,9 @@ void T_Door(door_t* door)
#if __JDOOM__ || __JDOOM64__
case DT_BLAZERAISE:
#endif

#if __JHERETIC__
case DT_BLAZEOPEN:
#endif
case DT_NORMAL:
door->state = DS_WAIT; // Wait at top.
door->topCountDown = door->topWait;
Expand Down

0 comments on commit 0211e58

Please sign in to comment.