mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:45:34 +00:00
Warning fix
This commit is contained in:
parent
8b84fa5579
commit
653ddd3f25
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ namespace MWGui
|
||||||
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;
|
||||||
for (int i=0; i<model.getItemCount(); ++i)
|
for (unsigned int i=0; i<model.getItemCount(); ++i)
|
||||||
{
|
{
|
||||||
cycled += incr;
|
cycled += incr;
|
||||||
cycled = (cycled + model.getItemCount()) % model.getItemCount();
|
cycled = (cycled + model.getItemCount()) % model.getItemCount();
|
||||||
|
|
Loading…
Reference in a new issue