home · contact · privacy
Changed the way the end of the map object list is identified.
[plomrogue] / src / main.c
index adeddceec5753080b9416d704b59aec3074631ca..68b1ebbfae6a88af9a3245e9e7468160b78b1879 100644 (file)
@@ -135,7 +135,6 @@ int main(int argc, char *argv[])
     if (0 == world.turn)
     {
         world.map_objs = NULL;
-        world.last_map_obj = NULL;
         add_map_objects(&world, 0, 1);
         add_map_objects(&world, 1, 1 + rrand() % 27);
         add_map_objects(&world, 2, 1 + rrand() % 9);