mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-16 07:20:54 +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 <iostream>
|
||||
|
||||
#include "esmreader.hpp"
|
||||
#include "esmwriter.hpp"
|
||||
#include "defs.hpp"
|
||||
@ -83,6 +85,12 @@ namespace ESM {
|
||||
esm.skipHSub();
|
||||
isDeleted = true;
|
||||
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:
|
||||
esm.fail("Unknown subrecord");
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user