]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mutators/mutator/physical_items/sv_physical_items.qc
Tidy up classnames
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / physical_items / sv_physical_items.qc
index 63b43e018378c32be72c64437eff5fd475a7f307..328f79ac877519066b85c1de88107b4387aa1682 100644 (file)
@@ -100,8 +100,7 @@ MUTATOR_HOOKFUNCTION(physical_items, Item_Spawn)
 
        // The actual item can't be physical and trigger at the same time, so make it invisible and use a second entity for physics.
        // Ugly hack, but unless SOLID_TRIGGER is gotten to work with MOVETYPE_PHYSICS in the engine it can't be fixed.
-       entity wep;
-       wep = spawn();
+       entity wep = spawn();
        _setmodel(wep, item.model);
        setsize(wep, item.mins, item.maxs);
        setorigin(wep, item.origin);