From 092bfd475edf3fdd6fbdd6c7443ab6e1086e7247 Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 26 Jul 2023 18:05:44 -0700 Subject: [PATCH] P_ProcessSpecial: fix ring drain sign --- src/p_spec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/p_spec.c b/src/p_spec.c index 81ec88f15..96aae8f18 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -4205,6 +4205,8 @@ boolean P_ProcessSpecial(activator_t *activator, INT16 special, INT32 *args, cha if (mo->player->rings <= 0) return false; + rings = -(rings); + if (rings > mo->player->rings) rings = mo->player->rings;