From ad665ff6f22943c1f1982d13e1dbea1cedc97a65 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 8 Mar 2015 17:11:44 +0100 Subject: [PATCH] Server/C: In actor_use(), don't directly add nutrition to lifepoints. --- src/server/thing_actions.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/thing_actions.c b/src/server/thing_actions.c index c9e8ddb..6a8803d 100644 --- a/src/server/thing_actions.c +++ b/src/server/thing_actions.c @@ -324,7 +324,6 @@ extern void actor_use(struct Thing * t) } t->satiation = t->satiation + tt->consumable > INT16_MAX ? INT16_MAX : t->satiation + tt->consumable; - t->lifepoints = t->lifepoints + tt->consumable; } } if (t == get_player()) -- 2.30.2