diff options
| author | navewindre <boneyaard@gmail.com> | 2018-10-06 12:09:36 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-10-06 12:09:36 +0200 |
| commit | 3e0d8199fec5b6979dc280533de69dded4260a0f (patch) | |
| tree | d34767fd1041642024a41254c3488fb8e082b076 /internal_rewrite/util.cpp | |
| parent | 66dcb4cdcdb0d3efce0ba74c0c5ad79bc7c51111 (diff) | |
z\cxdtgs
Diffstat (limited to 'internal_rewrite/util.cpp')
| -rw-r--r-- | internal_rewrite/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal_rewrite/util.cpp b/internal_rewrite/util.cpp index a73133d..9e9751f 100644 --- a/internal_rewrite/util.cpp +++ b/internal_rewrite/util.cpp @@ -378,7 +378,7 @@ bool util::is_tick_valid( int tickcount ) { float delta = correct - ( g_ctx.pred_time( ) - TICKS_TO_TIME( tickcount ) );
if( g_settings.rage.enabled ) {
- return std::abs( delta ) < ( 0.2f - TICK_INTERVAL( ) * 2.f );
+ return delta > -0.2f + TICK_INTERVAL( ) * 2.f && delta < 0.2f;
}
return std::abs( delta ) < 0.2f;
|
