1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-05 02:15:36 +00:00

Remove empty class description warning

This commit is contained in:
Capostrophic 2018-05-06 00:14:14 +03:00 committed by GitHub
parent e22409c266
commit 91b97a27ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,9 +32,6 @@ void CSMTools::ClassCheckStage::perform (int stage, CSMDoc::Messages& messages)
if (class_.mName.empty())
messages.push_back (std::make_pair (id, class_.mId + " has an empty name"));
if (class_.mDescription.empty())
messages.push_back (std::make_pair (id, class_.mId + " has an empty description"));
// test for invalid attributes
for (int i=0; i<2; ++i)
if (class_.mData.mAttribute[i]==-1)