home · contact · privacy
Use not f_name variable but __func__, standardize function name writing.
[plomrogue] / src / server / map.c
index 059a7133134cea14f0c4343241f05fba373daf84..7eececab5a74257d44b98ab3dad31351f3d3b85f 100644 (file)
@@ -139,9 +139,8 @@ static void make_trees()
 
 extern void remake_map()
 {
-    char * f_name = "init_map()";
     free(world.map.cells);
-    world.map.cells = try_malloc(world.map.length * world.map.length, f_name);
+    world.map.cells = try_malloc(world.map.length * world.map.length, __func__);
     uint32_t store_seed = world.seed;
     world.seed = world.seed_map;
     make_sea();