X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fw_fireball.qc;h=ab90c38b773ba36fd7f1a7315f5cb08ce1cf7887;hb=8c24bad1afeccde39828a5902cf96a858146c8cd;hp=07537108ab22581dbac2c8f401399d8b7b488d06;hpb=b8c937b2b43c647257fec24f842fefeae515e70b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/w_fireball.qc b/qcsrc/common/weapons/w_fireball.qc index 07537108a..ab90c38b7 100644 --- a/qcsrc/common/weapons/w_fireball.qc +++ b/qcsrc/common/weapons/w_fireball.qc @@ -7,10 +7,11 @@ REGISTER_WEAPON( /* flags */ WEP_FLAG_SUPERWEAPON | WEP_TYPE_SPLASH, /* rating */ BOT_PICKUP_RATING_MID, /* color */ '1 0.5 0', -/* model */ "fireball", +/* modelname */ "fireball", +/* simplemdl */ "foobar", /* crosshair */ "gfx/crosshairfireball", -/* netname */ "fireball", -/* fullname */ _("Fireball") +/* refname */ "fireball", +/* wepname */ _("Fireball") ); #define FIREBALL_SETTINGS(w_cvar,w_prop) FIREBALL_SETTINGS_LIST(w_cvar, w_prop, FIREBALL, fireball) @@ -402,7 +403,7 @@ float W_Fireball(float req) precache_sound ("weapons/fireball_fire.wav"); precache_sound ("weapons/fireball_fire2.wav"); precache_sound ("weapons/fireball_prefire2.wav"); - FIREBALL_SETTINGS(WEP_SKIPCVAR, WEP_SET_PROP) + FIREBALL_SETTINGS(WEP_SKIP_CVAR, WEP_SET_PROP) return TRUE; } case WR_SETUP: