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