1
This commit is contained in:
parent
cbc551ef39
commit
9b3fd2f6c3
@ -3059,5 +3059,8 @@ bool Creature::IsNearGas()
|
||||
|
||||
float Creature::GetSpeed()
|
||||
{
|
||||
|
||||
const float min_speed = 30.0f;
|
||||
const float base_speed = GetHeroMeta()->move_speed();
|
||||
float finaly_speed = base_speed;
|
||||
return std::max(min_speed, finaly_speed) / SERVER_FRAME_RATE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user