X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Fthing_actions.c;h=31b70af8ebc5f327cd4c4820d075f9dbf1bcd995;hb=bf396f111317663bba3950e57968af19f2f56a44;hp=3542254b7d79082268cca727c65f3679a5f8511e;hpb=d4ae3915f817fa25f938c5ab47cea2823ba5aaa9;p=plomrogue diff --git a/src/server/thing_actions.c b/src/server/thing_actions.c index 3542254..31b70af 100644 --- a/src/server/thing_actions.c +++ b/src/server/thing_actions.c @@ -94,6 +94,8 @@ static void actor_hits_actor(struct Thing * hitter, struct Thing * hitted) hitted->fov_map = NULL; free(hitted->mem_map); hitted->mem_map = NULL; + free(hitted->mem_depth_map); + hitted->mem_depth_map = NULL; free_things_in_memory(hitted->t_mem); hitted->t_mem = NULL; } @@ -183,7 +185,7 @@ static void playerbonus_use(uint8_t no_thing, uint8_t wrong_thing) update_log("You try to use this object, but fail."); return; } - update_log("You consume MAGIC MEAT."); + update_log("You consume this object."); }