mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-16 16:20:53 +00:00
Fix
This commit is contained in:
parent
ac78b537d2
commit
5146d9fc55
@ -767,7 +767,7 @@ namespace MWWorld
|
||||
Ptr ret = searchPtr(name, activeOnly);
|
||||
if (!ret.isEmpty())
|
||||
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)
|
||||
error += " in active cells";
|
||||
throw std::runtime_error(error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user