mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-04 07:47:59 +03:00
Remove dead code from commit 024ad3276b
.
This commit is contained in:
parent
ec457a09c3
commit
fea1ac2c0f
4 changed files with 9 additions and 17 deletions
|
@ -31,10 +31,10 @@ void ESM::RefNum::save (ESMWriter &esm, bool wide, const std::string& tag) const
|
|||
}
|
||||
|
||||
|
||||
void ESM::CellRef::load (ESMReader& esm, bool &isDeleted, int *tempRefCount, bool wideRefNum)
|
||||
void ESM::CellRef::load (ESMReader& esm, bool &isDeleted, bool wideRefNum)
|
||||
{
|
||||
loadId(esm, wideRefNum);
|
||||
loadData(esm, isDeleted, tempRefCount);
|
||||
loadData(esm, isDeleted);
|
||||
}
|
||||
|
||||
void ESM::CellRef::loadId (ESMReader& esm, bool wideRefNum)
|
||||
|
@ -57,7 +57,7 @@ void ESM::CellRef::loadId (ESMReader& esm, bool wideRefNum)
|
|||
}
|
||||
}
|
||||
|
||||
void ESM::CellRef::loadData(ESMReader &esm, bool &isDeleted, int *tempRefCount)
|
||||
void ESM::CellRef::loadData(ESMReader &esm, bool &isDeleted)
|
||||
{
|
||||
isDeleted = false;
|
||||
|
||||
|
@ -119,14 +119,7 @@ void ESM::CellRef::loadData(ESMReader &esm, bool &isDeleted, int *tempRefCount)
|
|||
break;
|
||||
case ESM::FourCC<'N','A','M','0'>::value:
|
||||
{
|
||||
if (tempRefCount && *tempRefCount == -1)
|
||||
{
|
||||
esm.getHT(*tempRefCount);
|
||||
// TODO: check that there are no more subs following this sub
|
||||
}
|
||||
else
|
||||
esm.skipHSub();
|
||||
|
||||
esm.skipHSub();
|
||||
break;
|
||||
}
|
||||
case ESM::SREC_DELE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue