1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

clarify ResourceTrader TODO comment

This commit is contained in:
Mircea TheHonestCTO
2025-09-13 10:22:50 +02:00
parent 12ed2e9780
commit 2b751d9705

View File

@@ -53,7 +53,8 @@ bool ResourceTrader::trade(BuildAnalyzer & buildAnalyzer, CCallback & cc, const
TResources income = buildAnalyzer.getDailyIncome(); TResources income = buildAnalyzer.getDailyIncome();
// We don't want to sell something that's necessary later on, though that could make short term a bit harder sometimes // We don't want to sell something that's necessary later on, though that could make short term a bit harder sometimes
// TODO: Mircea: Consider allowing the sale of just a few resources even if necessary long term but critical short term (o income for example) // TODO: Mircea: Consider allowing the sale of just a few resources even if necessary long term if critical short term
// to buy a capitol for example
TResources freeAfterMissingTotal = buildAnalyzer.getFreeResourcesAfterMissingTotal(ARMY_GOLD_RATIO_PER_MAKE_TURN_PASS); TResources freeAfterMissingTotal = buildAnalyzer.getFreeResourcesAfterMissingTotal(ARMY_GOLD_RATIO_PER_MAKE_TURN_PASS);
logAi->info( logAi->info(