aboutsummaryrefslogtreecommitdiff
path: root/MuseumDeserializer.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 18:32:55 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 18:32:55 +0200
commitfaa82f0a6004026c94a6415baf5e138b48dc1629 (patch)
treeead573bf9ec72a74569b79724c732c17dd9d0fb3 /MuseumDeserializer.cpp
parentafc66d3013b7d47c6c22d6a99809bc3e7d1ff0dc (diff)
implement weird dijkstra
Diffstat (limited to 'MuseumDeserializer.cpp')
-rw-r--r--MuseumDeserializer.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}