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

Method Clear

src/BlockArea.cpp:234–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233
234void cBlockArea::Clear(void)
235{
236 delete[] m_BlockTypes; m_BlockTypes = NULL;
237 delete[] m_BlockMetas; m_BlockMetas = NULL;
238 delete[] m_BlockLight; m_BlockLight = NULL;
239 delete[] m_BlockSkyLight; m_BlockSkyLight = NULL;
240 m_Origin.Set(0, 0, 0);
241 m_Size.Set(0, 0, 0);
242}
243
244
245

Callers 1

CopyToMethod · 0.45

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected