mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-27 16:41:38 +00:00
remove redundant code
This commit is contained in:
parent
7c76387ffe
commit
8de0ccc82c
1 changed files with 0 additions and 1 deletions
|
@ -129,7 +129,6 @@ namespace MWLua
|
|||
// Need to check for 0, 0 so that we can safely subtract 1 later, as per documentation on UniqueTextureId
|
||||
if (textureId.first != 0)
|
||||
{
|
||||
MWWorld::ESMStore& store = *MWBase::Environment::get().getESMStore();
|
||||
const MWWorld::Store<ESM::LandTexture>& textureStore = store.get<ESM::LandTexture>();
|
||||
const std::string* textureString = textureStore.search(textureId.first - 1, textureId.second);
|
||||
if (!textureString)
|
||||
|
|
Loading…
Reference in a new issue