home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Server/AI: Explore map for (long-time) unexplored cells.
[plomrogue]
/
src
/
server
/
thing_actions.c
diff --git
a/src/server/thing_actions.c
b/src/server/thing_actions.c
index dbf600c4666bdf76368287ea759a0d8245a816a8..31b70af8ebc5f327cd4c4820d075f9dbf1bcd995 100644
(file)
--- 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;
}