| 136 | } |
| 137 | |
| 138 | Section* Full_Chunk::editableGetSection (int32_t index) |
| 139 | { |
| 140 | //This causes trees and other structures to sometimes not work correctly! |
| 141 | if (index < 0) |
| 142 | return nullptr; |
| 143 | |
| 144 | while (index > m_sectionCount - 1) |
| 145 | { |
| 146 | addSection(); |
| 147 | } |
| 148 | |
| 149 | return &m_chunkSections[index]; |
| 150 | } |
| 151 | |
| 152 | |
| 153 | void Full_Chunk::addSection() |
no outgoing calls
no test coverage detected