1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-17 10:21:11 +00:00
This commit is contained in:
Evil Eye 2022-05-22 09:51:08 +02:00
parent ac78b537d2
commit 5146d9fc55

View File

@ -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);