MCPcopy Create free account
hub / github.com/cuberite/cuberite / Add

Method Add

Tools/AnvilStats/SpringStats.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27void cSpringStats::cStats::Add(const cSpringStats::cStats & a_Other)
28{
29 m_TotalChunks += a_Other.m_TotalChunks;
30 for (int Biome = 0; Biome < 256; Biome++)
31 {
32 for (int Height = 0; Height < 256; Height++)
33 {
34 m_LavaSprings[Biome][Height] += a_Other.m_LavaSprings[Biome][Height];
35 m_WaterSprings[Biome][Height] += a_Other.m_WaterSprings[Biome][Height];
36 }
37 }
38}
39
40
41

Callers 1

JoinResultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected