mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Remove some unused functions
This commit is contained in:
parent
189541aa72
commit
39af9a13fa
@ -422,7 +422,7 @@ void MWMechanics::NpcStats::modifyProfit(int diff)
|
||||
mProfit += diff;
|
||||
}
|
||||
|
||||
float MWMechanics::NpcStats::getTimeToStartDrowning()
|
||||
float MWMechanics::NpcStats::getTimeToStartDrowning() const
|
||||
{
|
||||
return mTimeToStartDrowning;
|
||||
}
|
||||
@ -431,13 +431,3 @@ void MWMechanics::NpcStats::setTimeToStartDrowning(float time)
|
||||
assert(time>=0 && time<=20);
|
||||
mTimeToStartDrowning=time;
|
||||
}
|
||||
|
||||
float MWMechanics::NpcStats::getLastDrowningHitTime()
|
||||
{
|
||||
return mLastDrowningHit;
|
||||
}
|
||||
|
||||
void MWMechanics::NpcStats::setLastDrowningHitTime(float time)
|
||||
{
|
||||
mLastDrowningHit=time;
|
||||
}
|
||||
|
@ -147,15 +147,10 @@ namespace MWMechanics
|
||||
|
||||
int getWerewolfKills() const;
|
||||
|
||||
float getTimeToStartDrowning();
|
||||
float getTimeToStartDrowning() const;
|
||||
/// Sets time left for the creature to drown if it stays underwater.
|
||||
/// @param time value from [0,20]
|
||||
void setTimeToStartDrowning(float time);
|
||||
|
||||
float getLastDrowningHitTime();
|
||||
/// Sets time since last hit caused by drowning.
|
||||
/// @param time value from [0,0.33]
|
||||
void setLastDrowningHitTime(float time);
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user