Home
last modified time | relevance | path

Searched refs:potential_provinces (Results 1 – 1 of 1) sorted by relevance

/dports/games/wyrmgus/Wyrmgus-3.5.4/src/stratagus/
H A Dgrand_strategy.cpp924 std::vector<int> potential_provinces; in GetRandomProvinceWeightedByPopulation() local
928 potential_provinces.push_back(this->OwnedProvinces[i]); in GetRandomProvinceWeightedByPopulation()
932 if (potential_provinces.size() > 0) { in GetRandomProvinceWeightedByPopulation()
933 return GrandStrategyGame.Provinces[potential_provinces[SyncRand(potential_provinces.size())]]; in GetRandomProvinceWeightedByPopulation()