mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Minor script api fixes/cleanups
This commit is contained in:
parent
5b6bc8a12b
commit
524d446757
11 changed files with 37 additions and 36 deletions
|
@ -50,14 +50,14 @@ MapSettingsManager::~MapSettingsManager()
|
|||
|
||||
|
||||
bool MapSettingsManager::getMapSetting(
|
||||
const std::string &name, std::string *value_out)
|
||||
const std::string &name, std::string *value_out) const
|
||||
{
|
||||
return m_map_settings->getNoEx(name, *value_out);
|
||||
}
|
||||
|
||||
|
||||
bool MapSettingsManager::getMapSettingNoiseParams(
|
||||
const std::string &name, NoiseParams *value_out)
|
||||
const std::string &name, NoiseParams *value_out) const
|
||||
{
|
||||
// TODO: Rename to "getNoiseParams"
|
||||
return m_map_settings->getNoiseParams(name, *value_out);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue