From: Christian Heller Date: Sun, 8 Mar 2015 16:11:44 +0000 (+0100) Subject: Server/C: In actor_use(), don't directly add nutrition to lifepoints. X-Git-Tag: tce~362 X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/do_day?a=commitdiff_plain;h=ad665ff6f22943c1f1982d13e1dbea1cedc97a65;p=plomrogue Server/C: In actor_use(), don't directly add nutrition to lifepoints. --- 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())