mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-25 04:53:08 +00:00
Compare saves passed on the command line using file equivalence
This commit is contained in:
parent
cd4901245e
commit
1bdc01120f
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ void MWState::StateManager::loadGame(const std::filesystem::path& filepath)
|
|||
{
|
||||
for (const auto& slot : character)
|
||||
{
|
||||
if (slot.mPath == filepath)
|
||||
if (std::filesystem::equivalent(slot.mPath, filepath))
|
||||
{
|
||||
loadGame(&character, slot.mPath);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue