1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

More meaningful exception messages

This commit is contained in:
Ivan Savenko
2023-11-22 19:11:40 +02:00
parent e979fb7056
commit 364977ef40
3 changed files with 3 additions and 3 deletions

View File

@ -1239,7 +1239,7 @@ void CGObelisk::setPropertyDer(ObjProperty what, ObjPropertyID identifier)
if(progress > obeliskCount)
{
logGlobal->error("Visited %d of %d", static_cast<int>(progress), obeliskCount);
throw std::runtime_error("internal error");
throw std::runtime_error("Player visited more obelisks than present on map!");
}
break;