1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-29 16:06:44 +00:00

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;
} }