mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-28 14:41:06 -04:00
Remove redundant code
(cherry picked from commit 30b42bf4c0a3c953703987ec333bd89ecd667f7e)
This commit is contained in:
parent
4f1601fe0d
commit
1aa1336dcf
@ -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;
|
||||||
|
@ -8,7 +8,6 @@ namespace ESM
|
|||||||
{
|
{
|
||||||
if (esm.isNextSub("DELE"))
|
if (esm.isNextSub("DELE"))
|
||||||
{
|
{
|
||||||
esm.getSubName();
|
|
||||||
esm.skipHSub();
|
esm.skipHSub();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user