mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Ignore Creature INDX subrecords
Found in some .ess files, not sure what they mean. (cherry picked from commit 0bdfd1b0d7c625eb8cd82bb402f3c6c9a528515b)
This commit is contained in:
parent
ebf9ffd1da
commit
0eca29eb62
@ -1,5 +1,7 @@
|
|||||||
#include "loadcrea.hpp"
|
#include "loadcrea.hpp"
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#include "esmreader.hpp"
|
#include "esmreader.hpp"
|
||||||
#include "esmwriter.hpp"
|
#include "esmwriter.hpp"
|
||||||
#include "defs.hpp"
|
#include "defs.hpp"
|
||||||
@ -83,6 +85,12 @@ namespace ESM {
|
|||||||
esm.skipHSub();
|
esm.skipHSub();
|
||||||
isDeleted = true;
|
isDeleted = true;
|
||||||
break;
|
break;
|
||||||
|
case ESM::FourCC<'I','N','D','X'>::value:
|
||||||
|
// seems to occur only in .ESS files, unsure of purpose
|
||||||
|
int index;
|
||||||
|
esm.getHT(index);
|
||||||
|
std::cerr << "Creature::load: Unhandled INDX " << index << std::endl;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
esm.fail("Unknown subrecord");
|
esm.fail("Unknown subrecord");
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user