Codechange: rename function to better describe what it is doing

This commit is contained in:
Rubidium
2023-06-11 21:48:07 +02:00
committed by rubidium42
parent f86500df92
commit 82b434b589
5 changed files with 12 additions and 10 deletions

View File

@@ -182,7 +182,7 @@ public:
if (td.owner_type[i] == STR_NULL) continue;
SetDParam(0, STR_LAND_AREA_INFORMATION_OWNER_N_A);
if (td.owner[i] != OWNER_NONE && td.owner[i] != OWNER_WATER) GetNameOfOwner(td.owner[i], tile);
if (td.owner[i] != OWNER_NONE && td.owner[i] != OWNER_WATER) SetDParamsForOwnedBy(td.owner[i], tile);
this->landinfo_data.push_back(GetString(td.owner_type[i]));
}