summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2020-04-01 12:23:22 +0200
committerPaweł Redman <pawel.redman@gmail.com>2020-04-01 12:23:22 +0200
commitba024b8bf1b76d996b086ee5bd5bc3f7d6e92d72 (patch)
tree79dd98fcbdd39dca1905ab64a62fe98cb9756f94
parentc3bc6e494658abc379855a54a029356730f67413 (diff)
Break the lava too, for good measure
-rw-r--r--src/game/g_active.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 820b8f3..e2dc234 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -161,13 +161,13 @@ void P_WorldEffects( gentity_t *ent )
if( ent->watertype & CONTENTS_LAVA )
{
G_Damage( ent, NULL, NULL, NULL, NULL,
- 30 * waterlevel, 0, MOD_LAVA );
+ -30 * waterlevel, 0, MOD_LAVA );
}
if( ent->watertype & CONTENTS_SLIME )
{
G_Damage( ent, NULL, NULL, NULL, NULL,
- 10 * waterlevel, 0, MOD_SLIME );
+ -10 * waterlevel, 0, MOD_SLIME );
}
}
}