Skip to content

Commit 4a9ee94

Browse files
author
newby
committed
Move up prototype for CF_GetSetting
Other changes in staging (proto from another file we pick up) were providing this for higher functions in the file.
1 parent f48ca3b commit 4a9ee94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ssqc/antilag.qc

Lines changed: 2 additions & 2 deletions
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)