1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-08 09:37:53 +00:00

Read SCRL::YNAM/ZNAM

This commit is contained in:
Alexei Kotov 2023-07-17 20:59:28 +03:00
parent 7e1e43f9c6
commit 332f38b7ab
2 changed files with 9 additions and 0 deletions

View File

@ -58,6 +58,12 @@ void ESM4::Scroll::load(ESM4::Reader& reader)
case ESM4::SUB_MODL:
reader.getZString(mModel);
break;
case ESM4::SUB_YNAM:
reader.getFormId(mPickUpSound);
break;
case ESM4::SUB_ZNAM:
reader.getFormId(mDropSound);
break;
// case ESM4::SUB_MODB: reader.get(mBoundRadius); break;
case ESM4::SUB_OBND:
case ESM4::SUB_CTDA:

View File

@ -53,6 +53,9 @@ namespace ESM4
std::string mModel;
std::string mText;
FormId mPickUpSound;
FormId mDropSound;
Data mData;
void load(ESM4::Reader& reader);