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:
parent
7e1e43f9c6
commit
332f38b7ab
@ -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:
|
||||
|
@ -53,6 +53,9 @@ namespace ESM4
|
||||
std::string mModel;
|
||||
std::string mText;
|
||||
|
||||
FormId mPickUpSound;
|
||||
FormId mDropSound;
|
||||
|
||||
Data mData;
|
||||
|
||||
void load(ESM4::Reader& reader);
|
||||
|
Loading…
Reference in New Issue
Block a user