fix dummy weapon info
authorRudolf Polzer <divverent@alientrap.org>
Fri, 2 Jul 2010 11:46:31 +0000 (13:46 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 2 Jul 2010 11:46:31 +0000 (13:46 +0200)
qcsrc/common/items.qc

index 0f1237d859478a5021ad9603008a39a2fdfe176f..33b48371502aaa00f1cdb922fe53cd6f3662a789 100644 (file)
@@ -32,15 +32,16 @@ void register_weapons_done()
        dummy_weapon_info.classname = "weapon_info";
        dummy_weapon_info.weapon = 0; // you can recognize dummies by this
        dummy_weapon_info.weapons = 0; // you can recognize dummies by this too
-       dummy_weapon_info.netname = "@!#%'n Tuba";
+       dummy_weapon_info.netname = "";
+       dummy_weapon_info.message = "@!#%'n Tuba";
        dummy_weapon_info.items = 0;
        dummy_weapon_info.weapon_func = w_null;
        dummy_weapon_info.mdl = "";
        dummy_weapon_info.model = "";
        dummy_weapon_info.spawnflags = 0;
+       dummy_weapon_info.model2 = "";
        dummy_weapon_info.impulse = -1;
        dummy_weapon_info.bot_pickupbasevalue = 0;
-       dummy_weapon_info.model2 = "";
 
        float i;
        weaponorder_byid = "";