mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
use ticklength * 2 (just making sure...)
This commit is contained in:
parent
bdb5675459
commit
80563db9db
@ -147,7 +147,7 @@ void LimitGameTicks(BOOL isBltOrFlip)
|
|||||||
|
|
||||||
if (isBltOrFlip)
|
if (isBltOrFlip)
|
||||||
lastBltOrFlipTick = tickCount;
|
lastBltOrFlipTick = tickCount;
|
||||||
else if (lastBltOrFlipTick + ddraw->ticklength >= tickCount)
|
else if (lastBltOrFlipTick + (ddraw->ticklength * 2) >= tickCount)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
nextGameTick += ddraw->ticklength;
|
nextGameTick += ddraw->ticklength;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user