Commit 6924763a authored by 潘栩锋's avatar 潘栩锋 🚴

修复 当线速度比较慢时, 会一直显示0

parent 40676c70
......@@ -266,8 +266,10 @@ namespace FLY.Thick.Base.Server
double v = MmOfR / 1000.0 / (dt - dtRound).TotalMinutes;
if (v < (FilmVelocity - 1))
FilmVelocity = v;
if (v >= (FilmVelocity - 1))
return;
FilmVelocity = v;
double p1 = RCnt * MmOfR / 1000.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment