Removed a wrong assertion. Max drowning time is defined by GMST.

This commit is contained in:
scrawl 2014-05-11 21:03:27 +02:00
parent 2bc2684a66
commit b0fbea9d57

View file

@ -432,9 +432,9 @@ float MWMechanics::NpcStats::getTimeToStartDrowning() const
{ {
return mTimeToStartDrowning; return mTimeToStartDrowning;
} }
void MWMechanics::NpcStats::setTimeToStartDrowning(float time) void MWMechanics::NpcStats::setTimeToStartDrowning(float time)
{ {
assert(time>=0 && time<=20);
mTimeToStartDrowning=time; mTimeToStartDrowning=time;
} }