From faa82f0a6004026c94a6415baf5e138b48dc1629 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 24 Oct 2024 18:32:55 +0200 Subject: implement weird dijkstra --- MuseumDeserializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MuseumDeserializer.cpp') diff --git a/MuseumDeserializer.cpp b/MuseumDeserializer.cpp index 19fc1a6..4f53887 100644 --- a/MuseumDeserializer.cpp +++ b/MuseumDeserializer.cpp @@ -18,6 +18,6 @@ void MuseumDeserializer::set_tile(TileData data) { void MuseumDeserializer::add_type(std::string type, Color color, unsigned int weight) { if (type.length() == 0) return; this->museum.canvas.tile_color.register_color(type, color); - // this->museum.pathfinding.weights.register_weight(type, weight); + this->museum.pathfinding.register_weight(type, weight); } -- cgit v1.2.3