aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader/Dataloader.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-07-24 01:05:45 +0200
committer hop311 <hop3114@gmail.com>2024-07-24 01:05:45 +0200
commita9a88a481dbae11eddd6c2268014923a955e38c3 (patch)
tree997ac4ffbbc6e19f2ae606607223fba7ee64e688 /src/openvic-simulation/dataloader/Dataloader.cpp
parentd1f3a96b72dd06b5f97dd4643e5f016a02b42ea6 (diff)
Load bookmark position as fvec2_t with height flippedbookmark-position
Diffstat (limited to 'src/openvic-simulation/dataloader/Dataloader.cpp')
-rw-r--r--src/openvic-simulation/dataloader/Dataloader.cpp1
1 files changed, 1 insertions, 0 deletions
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!");