mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 14:36:39 +00:00
Fix
This commit is contained in:
parent
ac78b537d2
commit
5146d9fc55
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ namespace MWWorld
|
||||||
Ptr ret = searchPtr(name, activeOnly);
|
Ptr ret = searchPtr(name, activeOnly);
|
||||||
if (!ret.isEmpty())
|
if (!ret.isEmpty())
|
||||||
return ret;
|
return ret;
|
||||||
std::string error = "failed to find an instance of object '" + std::string(name) + error;
|
std::string error = "failed to find an instance of object '" + std::string(name) + "'";
|
||||||
if (activeOnly)
|
if (activeOnly)
|
||||||
error += " in active cells";
|
error += " in active cells";
|
||||||
throw std::runtime_error(error);
|
throw std::runtime_error(error);
|
||||||
|
|
Loading…
Reference in a new issue