mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Removed a wrong assertion. Max drowning time is defined by GMST.
This commit is contained in:
parent
2bc2684a66
commit
b0fbea9d57
@ -432,9 +432,9 @@ float MWMechanics::NpcStats::getTimeToStartDrowning() const
|
||||
{
|
||||
return mTimeToStartDrowning;
|
||||
}
|
||||
|
||||
void MWMechanics::NpcStats::setTimeToStartDrowning(float time)
|
||||
{
|
||||
assert(time>=0 && time<=20);
|
||||
mTimeToStartDrowning=time;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user