mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 15:39:41 +00:00
fixed auto calc column
This commit is contained in:
parent
897e55391d
commit
74d791e207
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ QVariant CSMWorld::PotionRefIdAdapter::getData (const RefIdColumn *column, const
|
||||||
data.getRecord (RefIdData::LocalIndex (index, UniversalId::Type_Potion)));
|
data.getRecord (RefIdData::LocalIndex (index, UniversalId::Type_Potion)));
|
||||||
|
|
||||||
if (column==mAutoCalc)
|
if (column==mAutoCalc)
|
||||||
return record.get().mData.mAutoCalc;
|
return record.get().mData.mAutoCalc!=0;
|
||||||
|
|
||||||
return InventoryRefIdAdapter<ESM::Potion>::getData (column, data, index);
|
return InventoryRefIdAdapter<ESM::Potion>::getData (column, data, index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue