home · contact · privacy
Add command to let the AI decide player's next move.
[plomrogue] / src / server / map.c
index 7eececab5a74257d44b98ab3dad31351f3d3b85f..8ed37d9b50cbd017baf0cb2c0464e5e547aebeab 100644 (file)
@@ -160,10 +160,3 @@ extern uint8_t is_passable(struct yx_uint8 pos)
     }
     return passable;
 }
-
-
-
-extern uint16_t yx_to_map_pos(struct yx_uint8 * yx)
-{
-    return (yx->y * world.map.length) + yx->x;
-}