home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ec500
)
Server/C: In actor_use(), don't directly add nutrition to lifepoints.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Mar 2015 16:11:44 +0000
(17:11 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Mar 2015 16:11:44 +0000
(17:11 +0100)
src/server/thing_actions.c
patch
|
blob
|
history
diff --git
a/src/server/thing_actions.c
b/src/server/thing_actions.c
index c9e8ddb30642d421f824487388a1f1fa75cbe5d0..6a8803d162483a6a3ac06c2fe46dfc05420be31d 100644
(file)
--- 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())