Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 296ccaa

Browse files
committed
output large numbers in regular, non-scientific notation
1 parent cde187f commit 296ccaa

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Template for new versions:
6666
- `zone`: refresh values in distance column when switching selected pastures when the assign animals dialog is open
6767
- `logistics`: also add trainers to semi-wild pets when autoretrain is enabled
6868
- `suspendmanager`: fully suspend unbuildable deadends
69+
- `prospect`: output large numbers "normally", not in scientific notation
6970

7071
## Misc Improvements
7172
- `caravan`: display who is in the cages you are selecting for trade and whether they are hostile

plugins/prospector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ static command_result map_prospector(color_ostream &con,
812812
con << "Base materials:" << std::endl;
813813
for (it = baseMats.begin(); it != baseMats.end(); ++it)
814814
{
815-
con << std::setw(25) << ENUM_KEY_STR(tiletype_material,(df::tiletype_material)it->first) << " : " << it->second.count << std::endl;
815+
con << std::setw(25) << ENUM_KEY_STR(tiletype_material,(df::tiletype_material)it->first) << " : " << int(it->second.count) << std::endl;
816816
}
817817
con << std::endl;
818818
}

0 commit comments

Comments
 (0)