mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Remove a few unused functions reported by callcatcher (#11658)
This commit is contained in:
@@ -104,8 +104,7 @@ Settings *Settings::createLayer(SettingsLayer sl, const std::string &end_tag)
|
||||
|
||||
Settings *Settings::getLayer(SettingsLayer sl)
|
||||
{
|
||||
sanity_check((int)sl >= 0 && sl < SL_TOTAL_COUNT);
|
||||
return g_hierarchy.layers[(int)sl];
|
||||
return g_hierarchy.getLayer(sl);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user