mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 00:37:58 +03:00
Replace std::runtime_exception with TENScriptException.
This commit is contained in:
parent
dfcbdb753a
commit
a637701d63
8 changed files with 16 additions and 16 deletions
|
@ -68,7 +68,7 @@ std::string GameScriptSoundSourceInfo::GetName() const
|
|||
void GameScriptSoundSourceInfo::SetName(std::string const & id)
|
||||
{
|
||||
if (id.empty() && WarningsAsErrors)
|
||||
throw std::runtime_error("Name cannot be blank");
|
||||
throw TENScriptException("Name cannot be blank");
|
||||
|
||||
// remove the old name if we have one
|
||||
s_callbackRemoveName(m_soundSource.luaName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue