diff --git a/source/glest_game/world/unit_updater.cpp b/source/glest_game/world/unit_updater.cpp index 3459dd43..ddefadd8 100644 --- a/source/glest_game/world/unit_updater.cpp +++ b/source/glest_game/world/unit_updater.cpp @@ -1009,7 +1009,7 @@ void UnitUpdater::updateHarvest(Unit *unit, int frameIndex) { //if not working if(unit->getLoadCount() == 0 || (forceReturnToStore == false && unit->getLoadType() != NULL && - harvestResource != NULL && + harvestResource != NULL && (unit->getLoadCount() < hct->getMaxLoad()) && harvestResource->getType() != NULL && unit->getLoadType() == harvestResource->getType())) { //if not loaded go for resources SurfaceCell *sc = map->getSurfaceCell(Map::toSurfCoords(command->getPos()));