1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-02 09:15:33 +00:00

Clean-up saves by dropping references with invalid RefNums (Fixes #1956)

This commit is contained in:
MiroslavR 2016-12-22 20:48:58 +01:00
parent cf496287f7
commit 87fd011a28

View file

@ -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