mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-25 00:02:31 +00:00
Upgraded Filesave version for RefIDs
Fix logic issue
This commit is contained in:
parent
dc21df97c8
commit
afed7e60ef
@ -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…
x
Reference in New Issue
Block a user