Do not write binary data to std::cout by esmtool

7220-lua-add-a-general-purpose-lexical-parser
elsid 2 years ago
parent 92d36a93a5
commit 4b8941677d
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -828,7 +828,7 @@ namespace EsmTool
if (mData.mData.mDisposition > 0)
std::cout << " Disposition/Journal index: " << mData.mData.mDisposition << std::endl;
if (mData.mData.mGender != ESM::DialInfo::NA)
std::cout << " Gender: " << mData.mData.mGender << std::endl;
std::cout << " Gender: " << static_cast<int>(mData.mData.mGender) << std::endl;
if (!mData.mSound.empty())
std::cout << " Sound File: " << mData.mSound << std::endl;
@ -894,7 +894,7 @@ namespace EsmTool
std::cout << " Height Offset: " << data->mHeightOffset << std::endl;
// Lots of missing members.
std::cout << " Unknown1: " << data->mUnk1 << std::endl;
std::cout << " Unknown2: " << data->mUnk2 << std::endl;
std::cout << " Unknown2: " << static_cast<unsigned>(data->mUnk2) << std::endl;
}
mData.unloadData();
std::cout << " Deleted: " << mIsDeleted << std::endl;

Loading…
Cancel
Save