mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 19:20:49 +00:00
Fix
This commit is contained in:
parent
ac78b537d2
commit
5146d9fc55
@ -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…
x
Reference in New Issue
Block a user