precache hook sound
authorRudolf Polzer <divverent@alientrap.org>
Mon, 19 Jul 2010 10:38:16 +0000 (12:38 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 19 Jul 2010 10:38:16 +0000 (12:38 +0200)
qcsrc/client/Main.qc
qcsrc/client/hook.qc

index 7f6b9ea238a18f22db08529b738e6fb7ace80da5..9fb86a6e23bb0eda1a12e2c9bdb5f33ae24f2705 100644 (file)
@@ -136,6 +136,7 @@ void CSQC_Init(void)
 
        // precaches
        Projectile_Precache();
+       Hook_Precache();
        GibSplash_Precache();
        Casings_Precache();
        DamageInfo_Precache();
index 690d3249b1ff001731f4dcc1e1f12593569d9875..7165e7b3661f3d926e8e97f6c2233e0edc662bd7 100644 (file)
@@ -194,3 +194,8 @@ void Net_GrapplingHook()
                        break;
        }
 }
+
+void Hook_Precache()
+{
+       precache_sound("weapons/lgbeam_fly.wav");
+}