X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=src%2Fserver%2Fthing_actions.c;h=31b70af8ebc5f327cd4c4820d075f9dbf1bcd995;hb=ddb4196d9b87b71af5988657bcda9407557d3acd;hp=dbf600c4666bdf76368287ea759a0d8245a816a8;hpb=8d4de89107cf8e29c45c6375f4299b11d1d01d9a;p=plomrogue diff --git a/src/server/thing_actions.c b/src/server/thing_actions.c index dbf600c..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; }