void CvSelectionGroupAI::unloadToCity(CvCity* pCity, CvUnit* unit, UnloadMode um) { int totalStored = unit->getYieldStored(); int toUnload = estimateYieldsToLoad(pCity, totalStored, unit->getYield(), 0, 0); if (toUnload <= 0) { return; } unit->unloadStoredAmount(toUnload); } ...
This is the repository where the mod resides. . Contribute to We-the-People-civ4col-mod/Mod development by creating an account on GitHub.