mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-28 03:45:24 +01:00
Various code improvements
* Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits
This commit is contained in:
@@ -995,7 +995,7 @@ const InventoryList *Inventory::getList(const std::string &name) const
|
||||
return m_lists[i];
|
||||
}
|
||||
|
||||
const s32 Inventory::getListIndex(const std::string &name) const
|
||||
s32 Inventory::getListIndex(const std::string &name) const
|
||||
{
|
||||
for(u32 i=0; i<m_lists.size(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user