diff --git a/code/apps/client/source/prediction.c b/code/apps/client/source/prediction.c index 3402876..92270de 100644 --- a/code/apps/client/source/prediction.c +++ b/code/apps/client/source/prediction.c @@ -6,10 +6,7 @@ #define PREDICT_SMOOTH_FACTOR_HI 0.12 float smooth_val(float cur, float tgt, float dt) { -#if 0 return zpl_lerp(cur, tgt, zpl_lerp(PREDICT_SMOOTH_FACTOR_HI, PREDICT_SMOOTH_FACTOR_LO, zpl_unlerp(dt, WORLD_TRACKER_UPDATE_FAST_MS, WORLD_TRACKER_UPDATE_SLOW_MS))); -#endif - return zpl_lerp(cur, tgt, PREDICT_SMOOTH_FACTOR_HI); } void predict_receive_update(entity_view *d, entity_view *data) {