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

Method SetScale

src/Map.cpp:537–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535
536
537void cMap::SetScale(unsigned int a_Scale)
538{
539 if (m_Scale == a_Scale)
540 {
541 return;
542 }
543
544 m_Scale = a_Scale;
545
546 for (cMapClientList::iterator it = m_Clients.begin(); it != m_Clients.end(); ++it)
547 {
548 it->m_SendInfo = true;
549 }
550}
551
552
553

Callers 1

LoadMapFromNBTMethod · 0.80

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected