X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fserver%2Frun.c;h=11735d02c8c8ea93c19c025f5dfe3bb5d4827b75;hb=96cdebb17848901906799677f45c67263f759f6a;hp=212a37e16d62d6adb9a957b0cb11aa1136769e41;hpb=3fb2cb493ae564f8b14ddb4143b6c1f5bf16f16a;p=plomrogue
diff --git a/src/server/run.c b/src/server/run.c
index 212a37e..11735d0 100644
--- a/src/server/run.c
+++ b/src/server/run.c
@@ -30,7 +30,7 @@
#include "god_commands.h" /* parse_god_command_(1|2|3)arg() */
#include "hardcoded_strings.h" /* s */
#include "io.h" /* io_round(), save_world() */
-#include "thing_actions.h" /* hunger() */
+#include "thing_actions.h" /* hunger(), try_healing() */
#include "things.h" /* Thing, ThingType, ThingInMemory, get_player(),
* get_thing_action_id_by_name(), try_thing_proliferation()
*/
@@ -335,6 +335,7 @@ static void turn_over()
}
ai(thing);
}
+ try_healing(thing);
thing->progress++;
struct ThingAction * ta = get_thing_action(thing->command);
if (thing->progress == ta->effort)