From 7ca67a86886ffeaba7adff0060e8f71fb52fb938 Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Sun, 25 Aug 2019 23:31:12 +0200 Subject: [PATCH] Added reverse gravity support to lavafalls --- src/p_enemy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index 5b82e45b4..4de633b4a 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -13782,7 +13782,7 @@ void A_LavafallLava(mobj_t *actor) return; mobj_t *lavafall = P_SpawnMobjFromMobj(actor, 0, 0, -8*FRACUNIT, MT_LAVAFALL_LAVA); - lavafall->momz = -25*FRACUNIT; + lavafall->momz = -P_MobjFlip(actor)*25*FRACUNIT; } // Function: A_FallingLavaCheck