diff --git a/release.lst b/release.lst index 1fe3cb637a..04354f2e22 100644 --- a/release.lst +++ b/release.lst @@ -1,5 +1,6 @@ Release/apdoom-launcher.exe Release/crispy-apdoom.exe +Release/crispy-apheretic.exe Release/crispy-setup.exe Release/APCpp.dll Release/intl.dll @@ -11,5 +12,7 @@ Release/samplerate.dll Release/SDL2.dll Release/SDL2_mixer.dll Release/APDOOM.WAD +Release/APHERETIC.WAD Release/credits-doom-1993.txt Release/credits-doom-ii.txt +Release/credits-heretic.txt diff --git a/src/heretic/p_map.c b/src/heretic/p_map.c index 2d82f546df..995963e840 100644 --- a/src/heretic/p_map.c +++ b/src/heretic/p_map.c @@ -221,10 +221,7 @@ boolean P_TeleportMove(mobj_t * thing, fixed_t x, fixed_t y) // If it's the player, make sure to reset hub timer by like 5sec so we don't accidentally retrigger it if (thing == players[consoleplayer].mo) - { leveltimesinceload = min(leveltimesinceload, 175); - - } return true; } diff --git a/src/heretic/p_spec.c b/src/heretic/p_spec.c index 7526c599f9..8da5aa2c7a 100644 --- a/src/heretic/p_spec.c +++ b/src/heretic/p_spec.c @@ -608,6 +608,7 @@ Events are operations triggered by using, crossing, or shooting special lines, o void P_CrossSpecialLine(int linenum, int side, mobj_t * thing) { line_t *line; + int i; line = &lines[linenum]; if (!thing->player) @@ -725,6 +726,12 @@ void P_CrossSpecialLine(int linenum, int side, mobj_t * thing) line->special = 0; break; case 52: // EXIT! + // make sure there is a player alive for victory + for (i = 0; i < MAXPLAYERS; i++) + if (playeringame[i] && players[i].health > 0) + break; + if (i == MAXPLAYERS) return; + G_ExitLevel(); line->special = 0; break;