From 590d7ffcec09b002f7eee01f9893ad34a97b534d Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sun, 12 Jan 2025 04:36:22 -0800 Subject: [PATCH] use new translateName capitalization --- library/modules/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/modules/World.cpp b/library/modules/World.cpp index da0c24fc7d..b41c625f17 100644 --- a/library/modules/World.cpp +++ b/library/modules/World.cpp @@ -226,7 +226,7 @@ int32_t World::GetCurrentSiteId() { DEBUG(world).print("adv_pos: (%d, %d, %d)\n", adv_pos.x, adv_pos.y, adv_pos.z); df::coord2d rgn_pos(world_map.region_x + adv_pos.x/48, world_map.region_y + adv_pos.y/48); for (auto site : world->world_data->sites) { - DEBUG(world).print("scanning site %d: %s\n", site->id, Translation::TranslateName(&site->name, true).c_str()); + DEBUG(world).print("scanning site %d: %s\n", site->id, Translation::translateName(&site->name, true).c_str()); DEBUG(world).print(" rgn_pos: (%d, %d); site bounds: (%d, %d), (%d, %d) \n", rgn_pos.x, rgn_pos.y, site->global_min_x, site->global_min_y, site->global_max_x, site->global_max_y); if (rgn_pos.x >= site->global_min_x && rgn_pos.x <= site->global_max_x