mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 19:06:40 +00:00
Fix Npc edit widget index out of bounds due to a removed column.
This commit is contained in:
parent
f68c81e631
commit
ec457a09c3
1 changed files with 1 additions and 1 deletions
|
@ -1166,7 +1166,7 @@ void CSMWorld::NpcMiscRefIdAdapter::setNestedData (const RefIdColumn *column,
|
|||
|
||||
int CSMWorld::NpcMiscRefIdAdapter::getNestedColumnsCount(const RefIdColumn *column, const RefIdData& data) const
|
||||
{
|
||||
return 9; // Level, Health, Mana, Fatigue, Disposition, Reputation, Rank, Gold, Persist
|
||||
return 8; // Level, Health, Mana, Fatigue, Disposition, Reputation, Rank, Gold
|
||||
}
|
||||
|
||||
int CSMWorld::NpcMiscRefIdAdapter::getNestedRowsCount(const RefIdColumn *column, const RefIdData& data, int index) const
|
||||
|
|
Loading…
Reference in a new issue