X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=src%2Fserver%2Finit.c;h=42ec699a921d067f237c7eb67c9bafaa78454463;hb=fa0c416ccad4c4278813909ca1b799cd0600840c;hp=01950bcac3111f455dabd97eb515090e8c89d3e2;hpb=522ee38603c822f7ac6b7847b1c2b0160c49f481;p=plomrogue
diff --git a/src/server/init.c b/src/server/init.c
index 01950bc..42ec699 100644
--- a/src/server/init.c
+++ b/src/server/init.c
@@ -215,7 +215,10 @@ extern uint8_t remake_world()
struct Thing * t;
for (t = world.things; NULL != t; t = t->next)
{
- t->fov_map = t->lifepoints ? build_fov_map(t) : NULL;
+ if (t->lifepoints)
+ {
+ build_fov_map(t);
+ }
}
world.turn = 1;
world.do_update = 1;