Skip to content

Commit 19b8ff9

Browse files
authored
Merge pull request #934 from newbytf/antilag_detpipe
Move up prototype for CF_GetSetting
2 parents 88ebba6 + 4a9ee94 commit 19b8ff9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ssqc/antilag.qc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
float (string ps_short, string ps_setting, string ps_default) CF_GetSetting;
2+
13
void AL_ProjectProjectile (entity projectile) {
24
// Project projectiles forward in time based on ping up to configurable maximum (default 100ms).
35
// Effective projection time is maximum / 2 (eg 50ms), because we assume RTT is evenly distributed in both
@@ -328,8 +330,6 @@ class FOPlayer {
328330
};
329331
};
330332

331-
float (string ps_short, string ps_setting, string ps_default) CF_GetSetting;
332-
333333
float AL_RewindPlayersExceptSelf(float farthest_rewind_point) {
334334
// Live changeagble for now.
335335
float project_detpipe = CF_GetSetting("pd", "project_detpipe", "on");

0 commit comments

Comments
 (0)