mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-02 08:15:54 +00:00
Clean-up saves by dropping references with invalid RefNums (Fixes #1956)
This commit is contained in:
parent
cf496287f7
commit
87fd011a28
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue