1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 04:09:42 +00:00

Remove a pointless assert

This commit is contained in:
scrawl 2014-05-23 16:39:42 +02:00
parent b47b2b84f3
commit f09c8ddc9e

View file

@ -102,7 +102,6 @@ namespace MWMechanics
Stat<int> CreatureStats::getAiSetting (AiSetting index) const
{
assert (index>=0 && index<4);
return mAiSettings[index];
}
@ -220,7 +219,6 @@ namespace MWMechanics
void CreatureStats::setAiSetting (AiSetting index, Stat<int> value)
{
assert (index>=0 && index<4);
mAiSettings[index] = value;
}