mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-17 05:46:37 +00:00
add warning if id of quickkey is non-existent
This commit is contained in:
parent
e226963d0d
commit
bc2f948abe
1 changed files with 3 additions and 0 deletions
|
@ -667,6 +667,9 @@ namespace MWGui
|
|||
mTemp.emplace_back(*MWBase::Environment::get().getESMStore(), quickKey.mId, 0);
|
||||
assign(quickKey.mType, mTemp.back().getPtr());
|
||||
}
|
||||
else
|
||||
Log(Debug::Warning) << "Failed to load quick key " << (i + 1)
|
||||
<< ": could not find object " << quickKey.mId;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue