mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix warnings and other misc. minor changes
This commit is contained in:
parent
5b8855e83c
commit
8d3a68f343
11 changed files with 36 additions and 64 deletions
|
@ -348,7 +348,7 @@ GenElement *GenElementManager::getByName(std::string &name)
|
|||
GenElement *GenElementManager::update(u32 id, GenElement *elem)
|
||||
{
|
||||
if (id >= m_elements.size())
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
GenElement *old_elem = m_elements[id];
|
||||
m_elements[id] = elem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue