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 7f6b9ea..9fb86a6 100644 (file)
@@ -136,6 +136,7 @@ void CSQC_Init(void)
 
        // precaches
        Projectile_Precache();
+       Hook_Precache();
        GibSplash_Precache();
        Casings_Precache();
        DamageInfo_Precache();
index 690d324..7165e7b 100644 (file)
@@ -194,3 +194,8 @@ void Net_GrapplingHook()
                        break;
        }
 }
+
+void Hook_Precache()
+{
+       precache_sound("weapons/lgbeam_fly.wav");
+}