mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-30 21:41:23 +00:00
Upgraded Filesave version for RefIDs
Fix logic issue
This commit is contained in:
parent
dc21df97c8
commit
afed7e60ef
2 changed files with 2 additions and 2 deletions
|
@ -792,7 +792,7 @@ namespace MWGui
|
||||||
|
|
||||||
int incr = next ? 1 : -1;
|
int incr = next ? 1 : -1;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
const ESM::RefId* lastId = nullptr;
|
const ESM::RefId* lastId = &ESM::RefId::sEmpty;
|
||||||
if (selected != -1)
|
if (selected != -1)
|
||||||
lastId = &model.getItem(selected).mBase.getCellRef().getRefId();
|
lastId = &model.getItem(selected).mBase.getCellRef().getRefId();
|
||||||
ItemModel::ModelIndex cycled = selected;
|
ItemModel::ModelIndex cycled = selected;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
namespace ESM
|
namespace ESM
|
||||||
{
|
{
|
||||||
|
|
||||||
int SavedGame::sCurrentFormat = 21;
|
int SavedGame::sCurrentFormat = 22;
|
||||||
|
|
||||||
void SavedGame::load(ESMReader& esm)
|
void SavedGame::load(ESMReader& esm)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue