- Make DF2_BARRELS_RESPAWN work in all game modes without the need for alwaysapplydmflags.

SVN r3513 (trunk)
This commit is contained in:
Randy Heit 2012-04-03 04:18:38 +00:00
parent c5a3d846dd
commit 498a432c8d

View file

@ -38,8 +38,7 @@
DEFINE_ACTION_FUNCTION(AActor, A_BarrelDestroy) DEFINE_ACTION_FUNCTION(AActor, A_BarrelDestroy)
{ {
if ((dmflags2 & DF2_BARRELS_RESPAWN) && if (dmflags2 & DF2_BARRELS_RESPAWN)
(deathmatch || alwaysapplydmflags))
{ {
self->height = self->GetDefault()->height; self->height = self->GetDefault()->height;
self->renderflags |= RF_INVISIBLE; self->renderflags |= RF_INVISIBLE;