From 25f1c1ae764dc93cfc974b75bc2e8330e691d31e Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 2 Apr 2015 17:33:24 +0200 Subject: [PATCH] Remove persistent flag which will be unused --- components/esm/loadstat.cpp | 2 -- components/esm/loadstat.hpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/components/esm/loadstat.cpp b/components/esm/loadstat.cpp index ed90b0475..b0ab89bed 100644 --- a/components/esm/loadstat.cpp +++ b/components/esm/loadstat.cpp @@ -10,8 +10,6 @@ namespace ESM void Static::load(ESMReader &esm) { - mPersistent = (esm.getRecordFlags() & 0x0400) != 0; - mModel = esm.getHNString("MODL"); } void Static::save(ESMWriter &esm) const diff --git a/components/esm/loadstat.hpp b/components/esm/loadstat.hpp index 45b05136a..d912d1058 100644 --- a/components/esm/loadstat.hpp +++ b/components/esm/loadstat.hpp @@ -26,8 +26,6 @@ struct Static std::string mId, mModel; - bool mPersistent; - void load(ESMReader &esm); void save(ESMWriter &esm) const;