1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-03 17:54:06 +00:00

Upgraded Filesave version for RefIDs

Fix logic issue
This commit is contained in:
florent.teppe 2022-12-10 00:54:33 +01:00
parent dc21df97c8
commit afed7e60ef
2 changed files with 2 additions and 2 deletions

View File

@ -792,7 +792,7 @@ namespace MWGui
int incr = next ? 1 : -1;
bool found = false;
const ESM::RefId* lastId = nullptr;
const ESM::RefId* lastId = &ESM::RefId::sEmpty;
if (selected != -1)
lastId = &model.getItem(selected).mBase.getCellRef().getRefId();
ItemModel::ModelIndex cycled = selected;

View File

@ -6,7 +6,7 @@
namespace ESM
{
int SavedGame::sCurrentFormat = 21;
int SavedGame::sCurrentFormat = 22;
void SavedGame::load(ESMReader& esm)
{