Remove a pointless assert

deque
scrawl 11 years ago
parent b47b2b84f3
commit f09c8ddc9e

@ -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…
Cancel
Save