mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 01:08:01 +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
|
@ -89,7 +89,7 @@ std::string GameScriptMeshInfo::GetName() const
|
|||
void GameScriptMeshInfo::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_mesh.luaName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue