home · contact · privacy
Server/C: Re-order savefile to easen comparisons with Python variant.
[plomrogue] / src / server / things.c
index d4db1938836fac6f6bd31d6e535f5343ff31bc00..f114ea4abbb85933acde8a96df287d55808c8419 100644 (file)
@@ -210,6 +210,7 @@ extern void free_things(struct Thing * t)
     free_things(t->next);
     free(t->fov_map);
     free(t->mem_map);
+    free(t->mem_depth_map);
     free_things_in_memory(t->t_mem);
     free(t);
     if (t == world.things)         /* So add_things()' NULL-delimited thing   */
@@ -308,7 +309,7 @@ extern void try_thing_proliferation(struct Thing * t)
         {
             struct yx_uint8 candidates[6];
             uint8_t n_candidates = 0;
-            char dirs[7] = "dxswed";
+            char dirs[7] = "cxswed";
             struct yx_uint8 test = t->pos;
             uint8_t i;
             for (i = 0; i < strlen(dirs); i++)