mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +00:00
- Make DF2_BARRELS_RESPAWN work in all game modes without the need for alwaysapplydmflags.
SVN r3513 (trunk)
This commit is contained in:
parent
c5a3d846dd
commit
498a432c8d
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue