Add details to SettingEntry::Init assertion failure message
This commit is contained in:
@@ -987,7 +987,7 @@ void SettingEntry::Init(byte level)
|
|||||||
{
|
{
|
||||||
BaseSettingEntry::Init(level);
|
BaseSettingEntry::Init(level);
|
||||||
this->setting = GetSettingFromName(this->name, &this->index);
|
this->setting = GetSettingFromName(this->name, &this->index);
|
||||||
assert(this->setting != NULL);
|
assert_msg(this->setting != NULL, "name: %s", this->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user