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