| 590 | |
| 591 | |
| 592 | void cChunkDesc::CompressBlockMetas(cChunkDef::BlockNibbles & a_DestMetas) |
| 593 | { |
| 594 | const NIBBLETYPE * AreaMetas = m_BlockArea.GetBlockMetas(); |
| 595 | for (size_t i = 0; i < ARRAYCOUNT(a_DestMetas); i++) |
| 596 | { |
| 597 | a_DestMetas[i] = AreaMetas[2 * i] | (AreaMetas[2 * i + 1] << 4); |
| 598 | } |
| 599 | } |
| 600 | |
| 601 | |
| 602 |
no test coverage detected