AnvilStats: Fixed biome format string
git-svn-id: http://mc-server.googlecode.com/svn/trunk@898 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
3165458c59
commit
b903b29057
@ -206,7 +206,7 @@ void cStatisticsFactory::SaveBiomes(void)
|
|||||||
for (int i = 0; i <= 255; i++)
|
for (int i = 0; i <= 255; i++)
|
||||||
{
|
{
|
||||||
AString Line;
|
AString Line;
|
||||||
Printf(Line, "%s\t%d\t%.05f\n", GetBiomeString(i), i, m_BiomeCounts[i], ((double)m_BiomeCounts[i]) / TotalColumns);
|
Printf(Line, "%s\t%d\t%d\t%.05f\n", GetBiomeString(i), i, m_BiomeCounts[i], ((double)m_BiomeCounts[i]) / TotalColumns);
|
||||||
f.Write(Line.c_str(), Line.length());
|
f.Write(Line.c_str(), Line.length());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user