mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 03:40:40 +00:00
Clean-up saves by dropping references with invalid RefNums (Fixes #1956)
This commit is contained in:
parent
cf496287f7
commit
87fd011a28
@ -137,6 +137,9 @@ namespace
|
|||||||
iter->load (state);
|
iter->load (state);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::cerr << "Dropping reference to " << state.mRef.mRefID << " (invalid content file link)" << std::endl;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// new reference
|
// new reference
|
||||||
|
Loading…
x
Reference in New Issue
Block a user