mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04: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;
|
mProfit += diff;
|
||||||
}
|
}
|
||||||
|
|
||||||
float MWMechanics::NpcStats::getTimeToStartDrowning()
|
float MWMechanics::NpcStats::getTimeToStartDrowning() const
|
||||||
{
|
{
|
||||||
return mTimeToStartDrowning;
|
return mTimeToStartDrowning;
|
||||||
}
|
}
|
||||||
@ -431,13 +431,3 @@ void MWMechanics::NpcStats::setTimeToStartDrowning(float time)
|
|||||||
assert(time>=0 && time<=20);
|
assert(time>=0 && time<=20);
|
||||||
mTimeToStartDrowning=time;
|
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;
|
int getWerewolfKills() const;
|
||||||
|
|
||||||
float getTimeToStartDrowning();
|
float getTimeToStartDrowning() const;
|
||||||
/// Sets time left for the creature to drown if it stays underwater.
|
/// Sets time left for the creature to drown if it stays underwater.
|
||||||
/// @param time value from [0,20]
|
/// @param time value from [0,20]
|
||||||
void setTimeToStartDrowning(float time);
|
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…
x
Reference in New Issue
Block a user