mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 23:09:42 +00:00
Remove a pointless assert
This commit is contained in:
parent
b47b2b84f3
commit
f09c8ddc9e
1 changed files with 0 additions and 2 deletions
|
@ -102,7 +102,6 @@ namespace MWMechanics
|
||||||
|
|
||||||
Stat<int> CreatureStats::getAiSetting (AiSetting index) const
|
Stat<int> CreatureStats::getAiSetting (AiSetting index) const
|
||||||
{
|
{
|
||||||
assert (index>=0 && index<4);
|
|
||||||
return mAiSettings[index];
|
return mAiSettings[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -220,7 +219,6 @@ namespace MWMechanics
|
||||||
|
|
||||||
void CreatureStats::setAiSetting (AiSetting index, Stat<int> value)
|
void CreatureStats::setAiSetting (AiSetting index, Stat<int> value)
|
||||||
{
|
{
|
||||||
assert (index>=0 && index<4);
|
|
||||||
mAiSettings[index] = value;
|
mAiSettings[index] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue