| 374 | } |
| 375 | |
| 376 | CRenderWorldObject *CMapBlock::GetRender(int x, int y) |
| 377 | { |
| 378 | CRenderWorldObject *obj = Block[x][y]; |
| 379 | while (obj != nullptr && obj->m_PrevXY != nullptr) |
| 380 | { |
| 381 | obj = obj->m_PrevXY; |
| 382 | } |
| 383 | return obj; |
| 384 | } |
| 385 | |
| 386 | CMapObject *CMapBlock::AddObject(CMapObject *obj, int x, int y) |
| 387 | { |
no outgoing calls
no test coverage detected