]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_items.qc
Fix the hooks for weapon and sound models, supposedly
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_items.qc
index 0985e4bfe46e2c07dccc62c10115d4217f796878..3c944619bfa693a259e86fe808de93a15ec342ae 100644 (file)
@@ -1189,7 +1189,7 @@ string Item_Model(string item_mdl)
 {
        string output = strcat("models/items/", item_mdl);
        MUTATOR_CALLHOOK(ItemModel, item_mdl, output);
-       return strzone(output);
+       return strzone(item_model_output);
 }
 
 void StartItemA (entity a)