mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove a few unused functions reported by callcatcher (#11658)
This commit is contained in:
parent
6de8d77e17
commit
ecc6f4ba25
24 changed files with 6 additions and 799 deletions
|
@ -367,12 +367,6 @@ bool EmergeManager::isBlockInQueue(v3s16 pos)
|
|||
//
|
||||
|
||||
|
||||
// TODO(hmmmm): Move this to ServerMap
|
||||
v3s16 EmergeManager::getContainingChunk(v3s16 blockpos)
|
||||
{
|
||||
return getContainingChunk(blockpos, mgparams->chunksize);
|
||||
}
|
||||
|
||||
// TODO(hmmmm): Move this to ServerMap
|
||||
v3s16 EmergeManager::getContainingChunk(v3s16 blockpos, s16 chunksize)
|
||||
{
|
||||
|
@ -396,17 +390,6 @@ int EmergeManager::getSpawnLevelAtPoint(v2s16 p)
|
|||
}
|
||||
|
||||
|
||||
int EmergeManager::getGroundLevelAtPoint(v2s16 p)
|
||||
{
|
||||
if (m_mapgens.empty() || !m_mapgens[0]) {
|
||||
errorstream << "EmergeManager: getGroundLevelAtPoint() called"
|
||||
" before mapgen init" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return m_mapgens[0]->getGroundLevelAtPoint(p);
|
||||
}
|
||||
|
||||
// TODO(hmmmm): Move this to ServerMap
|
||||
bool EmergeManager::isBlockUnderground(v3s16 blockpos)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue