From a9a88a481dbae11eddd6c2268014923a955e38c3 Mon Sep 17 00:00:00 2001 From: hop311 Date: Wed, 24 Jul 2024 00:05:45 +0100 Subject: Load bookmark position as fvec2_t with height flipped --- src/openvic-simulation/dataloader/Dataloader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/openvic-simulation/dataloader/Dataloader.cpp') diff --git a/src/openvic-simulation/dataloader/Dataloader.cpp b/src/openvic-simulation/dataloader/Dataloader.cpp index 2058ce5..77d0baa 100644 --- a/src/openvic-simulation/dataloader/Dataloader.cpp +++ b/src/openvic-simulation/dataloader/Dataloader.cpp @@ -1007,6 +1007,7 @@ bool Dataloader::load_defines(DefinitionManager& definition_manager) { ret = false; } if (!definition_manager.get_history_manager().get_bookmark_manager().load_bookmark_file( + definition_manager.get_map_definition().get_height(), parse_defines(lookup_file(bookmark_file)).get_file_node() )) { Logger::error("Failed to load bookmarks!"); -- cgit v1.2.3-56-ga3b1