|
|
@ -5,9 +5,9 @@ |
|
|
|
inline bool HasInvalidCells() |
|
|
|
inline bool HasInvalidCells() |
|
|
|
{ |
|
|
|
{ |
|
|
|
// FormIDs of all Skyrim cells.
|
|
|
|
// FormIDs of all Skyrim cells.
|
|
|
|
// 7 of them are commented out, because they are cells in Enderal as well.
|
|
|
|
// 9 of them are commented out, because they are cells in Enderal as well.
|
|
|
|
|
|
|
|
|
|
|
|
UInt32 formids[584] = { |
|
|
|
UInt32 formids[582] = { |
|
|
|
0x0004B8FB, |
|
|
|
0x0004B8FB, |
|
|
|
0x000352C7, |
|
|
|
0x000352C7, |
|
|
|
0x000161E7, |
|
|
|
0x000161E7, |
|
|
@ -543,7 +543,7 @@ inline bool HasInvalidCells() |
|
|
|
0x000152AD, |
|
|
|
0x000152AD, |
|
|
|
0x0009174E, |
|
|
|
0x0009174E, |
|
|
|
0x0004A376, |
|
|
|
0x0004A376, |
|
|
|
0x000361FA, |
|
|
|
//0x000361FA,
|
|
|
|
0x0002A03A, |
|
|
|
0x0002A03A, |
|
|
|
0x00016DFA, |
|
|
|
0x00016DFA, |
|
|
|
0x000152A2, |
|
|
|
0x000152A2, |
|
|
@ -556,7 +556,7 @@ inline bool HasInvalidCells() |
|
|
|
0x0001386C, |
|
|
|
0x0001386C, |
|
|
|
0x000BE46A, |
|
|
|
0x000BE46A, |
|
|
|
0x0009CCDE, |
|
|
|
0x0009CCDE, |
|
|
|
0x0007284E, |
|
|
|
//0x0007284E,
|
|
|
|
0x00067F2A, |
|
|
|
0x00067F2A, |
|
|
|
0x0003016A, |
|
|
|
0x0003016A, |
|
|
|
0x000198DE, |
|
|
|
0x000198DE, |
|
|
@ -601,7 +601,7 @@ inline bool HasInvalidCells() |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
bool result = false; |
|
|
|
bool result = false; |
|
|
|
for (int i = 0; i < 415; i++) { |
|
|
|
for (int i = 0; i < 582; i++) { |
|
|
|
if ((TESObjectCELL*)LookupFormByID(formids[i])) { |
|
|
|
if ((TESObjectCELL*)LookupFormByID(formids[i])) { |
|
|
|
_MESSAGE("Detected invalid cell: %#08x", formids[i]); |
|
|
|
_MESSAGE("Detected invalid cell: %#08x", formids[i]); |
|
|
|
result = true; |
|
|
|
result = true; |
|
|
|