mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 00:39:49 +00:00
Remove a pointless assert
This commit is contained in:
parent
b47b2b84f3
commit
f09c8ddc9e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user