]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_vaporizer.qc
Make these weapons use the proper refname
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_vaporizer.qc
index ce9bc6b1027479ce39e2ce446cb3d8810eea1283..e00c180c71aff9f84349d3b9a47f1f200fbac4df 100644 (file)
@@ -7,9 +7,10 @@ REGISTER_WEAPON(
 /* flags     */ WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_FLAG_SUPERWEAPON | WEP_TYPE_HITSCAN,
 /* rating    */ BOT_PICKUP_RATING_HIGH,
 /* color     */ '0.5 1 1',
-/* model     */ "minstanex",
+/* modelname */ "minstanex",
+/* simplemdl */ "foobar",
 /* crosshair */ "gfx/crosshairminstanex 0.4",
-/* refname   */ "minstanex",
+/* refname   */ "vaporizer",
 /* wepname   */ _("Vaporizer")
 );
 
@@ -192,7 +193,7 @@ float W_Vaporizer(float req)
                        precache_sound("weapons/nexwhoosh2.wav");
                        precache_sound("weapons/nexwhoosh3.wav");
                        //W_Blaster(WR_INIT); // Samual: Is this really the proper thing to do? Didn't we already run this previously?
-                       VAPORIZER_SETTINGS(WEP_SKIPCVAR, WEP_SET_PROP)
+                       VAPORIZER_SETTINGS(WEP_SKIP_CVAR, WEP_SET_PROP)
                        return TRUE;
                }
                case WR_SETUP: