Remove redundant code

This commit is contained in:
Stanislav Bas 2015-07-07 21:24:35 +03:00
parent 8c3654af11
commit 30b42bf4c0
2 changed files with 0 additions and 2 deletions

View file

@ -23,7 +23,6 @@ void DialInfo::load(ESMReader &esm)
// If the info is deleted, NAME and DELE sub-records are followed after NNAM // If the info is deleted, NAME and DELE sub-records are followed after NNAM
if (esm.isNextSub("NAME")) if (esm.isNextSub("NAME"))
{ {
esm.getSubName();
mResponse = esm.getHString(); mResponse = esm.getHString();
mIsDeleted = readDeleSubRecord(esm); mIsDeleted = readDeleSubRecord(esm);
return; return;

View file

@ -8,7 +8,6 @@ namespace ESM
{ {
if (esm.isNextSub("DELE")) if (esm.isNextSub("DELE"))
{ {
esm.getSubName();
esm.skipHSub(); esm.skipHSub();
return true; return true;
} }