From 498a432c8d188ec3b1244d5426a9423a1a2f9c7f Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 3 Apr 2012 04:18:38 +0000 Subject: [PATCH] - Make DF2_BARRELS_RESPAWN work in all game modes without the need for alwaysapplydmflags. SVN r3513 (trunk) --- src/g_doom/a_doommisc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/g_doom/a_doommisc.cpp b/src/g_doom/a_doommisc.cpp index 730fe1831..69bd7beaf 100644 --- a/src/g_doom/a_doommisc.cpp +++ b/src/g_doom/a_doommisc.cpp @@ -38,8 +38,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_BarrelDestroy) { - if ((dmflags2 & DF2_BARRELS_RESPAWN) && - (deathmatch || alwaysapplydmflags)) + if (dmflags2 & DF2_BARRELS_RESPAWN) { self->height = self->GetDefault()->height; self->renderflags |= RF_INVISIBLE;