This commit is contained in:
proller committed 2026-01-30 21:40:34 +01:00
1 parent 223b099d2b
commit cc0c53e3ff
1 file changed
+5
+5
View File
@@ -151,6 +151,11 @@ height::height_t hgts::get(const height_hgt::ll_t lat, const height_hgt::ll_t lo
if (hgt->load(lat, lon)) {
map1_seabed[lat_dec][lon_dec] = std::move(hgt);
if (const auto ret = get_lat1(map1_seabed[lat_dec], lon_dec)) {
// todo: layer configurable
if (ret.value() > 0)
return 0;
return ret.value();
}
}