]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
items field is not used on weapon entities anymore
authorSamual Lenks <samual@xonotic.org>
Thu, 2 Jan 2014 00:17:38 +0000 (19:17 -0500)
committerSamual Lenks <samual@xonotic.org>
Thu, 2 Jan 2014 00:17:38 +0000 (19:17 -0500)
qcsrc/common/weapons/weapons.qc
qcsrc/common/weapons/weapons.qh

index e70f199daa20d8c7d6df1a5a4573104ee878b7ad..60bc2dd9e06558297ef3cf278e99114e2e9f16f3 100644 (file)
@@ -83,7 +83,6 @@ void register_weapon(float id, WepSet bit, float(float) func, .float ammotype, f
        e.weapons = bit;
        e.netname = shortname;
        e.message = wname;
-       //e.items = ammotype;
        e.weapon_func = func;
        e.wpcolor = clr;
        e.mdl = modelname;
@@ -110,7 +109,6 @@ void register_weapons_done()
        dummy_weapon_info.weapons = '0 0 0';
        dummy_weapon_info.netname = "";
        dummy_weapon_info.message = "AOL CD Thrower";
-       //dummy_weapon_info.items = 0;
        dummy_weapon_info.weapon_func = w_null;
        dummy_weapon_info.mdl = "";
        dummy_weapon_info.model = "";
index 8b8c23cea7a023445462b369f6965d18e31bb15e..e9810df630b4cef76e6d2a51d3f6615d06c76348 100644 (file)
@@ -130,7 +130,6 @@ void register_weapons_done();
 .WepSet weapons; // WEPSET_...
 .string netname; // short name
 .string message; // human readable name
-.float items; // IT_... // WEAPONTODO: I thought I removed items from weapons... ?
 .float(float) weapon_func; // w_...
 .vector wpcolor; // waypointsprite color
 .string mdl; // modelname without g_, v_, w_