X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=src%2Fserver%2Fthing_actions.c;h=8d6a802417ea6df95068892fe3b89b77cad7057f;hb=fa0c416ccad4c4278813909ca1b799cd0600840c;hp=bcf9e455f4d382d538633f75681f77b6d76d7b3d;hpb=522ee38603c822f7ac6b7847b1c2b0160c49f481;p=plomrogue
diff --git a/src/server/thing_actions.c b/src/server/thing_actions.c
index bcf9e45..8d6a802 100644
--- a/src/server/thing_actions.c
+++ b/src/server/thing_actions.c
@@ -266,8 +266,7 @@ extern void actor_move(struct Thing * t)
if (passable)
{
set_thing_position(t, target);
- free(t->fov_map);
- t->fov_map = build_fov_map(t);
+ build_fov_map(t);
}
if (t == get_player())
{