mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-02 14:57:59 +03:00
parent
fa4718283d
commit
b95748d044
14 changed files with 87 additions and 47 deletions
|
@ -1053,13 +1053,13 @@ namespace CSMWorld
|
|||
|
||||
virtual QVariant get (const Record<ESXRecordT>& record) const
|
||||
{
|
||||
return record.get().mChargeInt;
|
||||
return record.get().mCharge;
|
||||
}
|
||||
|
||||
virtual void set (Record<ESXRecordT>& record, const QVariant& data)
|
||||
{
|
||||
ESXRecordT record2 = record.get();
|
||||
record2.mChargeInt = data.toInt();
|
||||
record2.mCharge = data.toInt();
|
||||
record.setModified (record2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue