]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_shotgun.qc
commit message goes here
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_shotgun.qc
index 95dc3781f70396351baa03b2a8496a0fd9e89817..c081c931881894b3f8c4b15ee305665159863c50 100644 (file)
@@ -6,11 +6,11 @@ REGISTER_WEAPON(
 /* impulse   */ 2,
 /* flags     */ WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN | WEP_FLAG_MUTATORBLOCKED,
 /* rating    */ BOT_PICKUP_RATING_LOW,
-/* color       */ '0.5 0.25 0',
+/* color     */ '0.5 0.25 0',
 /* model     */ "shotgun",
 /* crosshair */ "gfx/crosshairshotgun 0.65",
-/* shortname */ "shotgun",
-/* fullname  */ _("Shotgun")
+/* refname   */ "shotgun",
+/* wepname   */ _("Shotgun")
 );
 
 #define SHOTGUN_SETTINGS(w_cvar,w_prop) SHOTGUN_SETTINGS_LIST(w_cvar, w_prop, SHOTGUN, shotgun)
@@ -245,7 +245,7 @@ float W_Shotgun(float req)
                        precache_sound ("misc/itempickup.wav");
                        precache_sound ("weapons/shotgun_fire.wav");
                        precache_sound ("weapons/shotgun_melee.wav");
-                       SHOTGUN_SETTINGS(WEP_SKIPCVAR, WEP_SET_PROP)
+                       SHOTGUN_SETTINGS(WEP_SKIP_CVAR, WEP_SET_PROP)
                        return TRUE;
                }
                case WR_SETUP: