home · contact · privacy
Server/C: In actor_use(), don't directly add nutrition to lifepoints.
[plomrogue] / src / server / thing_actions.c
index c9e8ddb30642d421f824487388a1f1fa75cbe5d0..6a8803d162483a6a3ac06c2fe46dfc05420be31d 100644 (file)
@@ -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())