]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_machinegun.qc
Make it so that weapon zoom reticles are in weapon code, not view code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_machinegun.qc
index 0bb2d812685edbd8cbd658672034220547af3fed..5fda5ef174996dc3f2783eb6d76da7a13ed37d9a 100644 (file)
@@ -391,6 +391,11 @@ float W_MachineGun(float req)
                        precache_sound("weapons/ric3.wav");
                        return TRUE;
                }
+               case WR_ZOOMRETICLE:
+               {
+                       // no weapon specific image for this weapon
+                       return FALSE;
+               }
        }
        return TRUE;
 }