diff options
author | Nemrav <> | 2024-11-17 21:33:44 +0100 |
---|---|---|
committer | Nemrav <> | 2024-11-17 21:33:44 +0100 |
commit | 54ddd94739d7efa3b7539d638edaf89b023ef903 (patch) | |
tree | 63924d012a668b01627a71882c575a6c8fff2c9d /extension/src/openvic-extension/singletons/MapItemSingleton.cpp | |
parent | 005bc5885a5ff436982246f12e9cfa13231bcf82 (diff) |
revert UI node type change
Diffstat (limited to 'extension/src/openvic-extension/singletons/MapItemSingleton.cpp')
-rw-r--r-- | extension/src/openvic-extension/singletons/MapItemSingleton.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/singletons/MapItemSingleton.cpp b/extension/src/openvic-extension/singletons/MapItemSingleton.cpp index 57b5ccb..67af22e 100644 --- a/extension/src/openvic-extension/singletons/MapItemSingleton.cpp +++ b/extension/src/openvic-extension/singletons/MapItemSingleton.cpp @@ -133,9 +133,14 @@ PackedVector2Array MapItemSingleton::get_province_positions(){ PackedVector2Array billboard_pos = PackedVector2Array(); int prov_count = game_singleton->get_definition_manager().get_map_definition().get_province_definition_count(); + Logger::info("prov_count ", prov_count); + for(int i = 0; i < prov_count; i++){ ProvinceDefinition const* prov = game_singleton->get_definition_manager().get_map_definition().get_province_definition_by_index(i); billboard_pos.push_back(Vector2(prov->get_city_position().x,prov->get_city_position().y)); + if(i % 4){ + Logger::info("prov_x ", prov->get_city_position().x); + } } return billboard_pos; |