mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-17 16:36:33 -04:00
Improve error message for unknown cells
This commit is contained in:
parent
091f9a8fdc
commit
ad0a182b7e
@ -323,7 +323,7 @@ namespace MWScript
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw std::runtime_error ("unknown cell");
|
throw std::runtime_error (std::string("unknown cell (") + cellID + ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -420,7 +420,7 @@ namespace MWScript
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw std::runtime_error ("unknown cell");
|
throw std::runtime_error ( std::string("unknown cell (") + cellID + ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user