Compare commits
3 Commits
3d2e9e1f0a
...
4dac834555
Author | SHA1 | Date | |
---|---|---|---|
4dac834555 | |||
|
11d7f681b0 | ||
|
195afdafb8 |
@ -72,10 +72,10 @@ namespace AxibugEmuOnline.Client
|
|||||||
var frameGap = App.roomMgr.netReplay.mDiffFrameCount;
|
var frameGap = App.roomMgr.netReplay.mDiffFrameCount;
|
||||||
if (frameGap > 10000) return;
|
if (frameGap > 10000) return;
|
||||||
|
|
||||||
if (frameGap > 3 && frameGap < 6) skipFrameCount = 1;
|
if (frameGap > 2 && frameGap < 6) skipFrameCount = 1;
|
||||||
else if (frameGap > 7 && frameGap < 12) skipFrameCount = 2;
|
else if (frameGap > 7 && frameGap < 12) skipFrameCount = 2;
|
||||||
else if (frameGap > 13 && frameGap < 20) skipFrameCount = 3;
|
else if (frameGap > 13 && frameGap < 20) skipFrameCount = 3;
|
||||||
else skipFrameCount = frameGap - 3;
|
else skipFrameCount = frameGap - 2;
|
||||||
|
|
||||||
if (skipFrameCount > 0) App.log.Debug($"SKIP FRAME : {skipFrameCount}");
|
if (skipFrameCount > 0) App.log.Debug($"SKIP FRAME : {skipFrameCount}");
|
||||||
for (int i = 0; i < skipFrameCount; i++)
|
for (int i = 0; i < skipFrameCount; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user