]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use "null" instead of a whole other model for it -- it's the same thing, but "null...
authorSamual <samual@xonotic.org>
Thu, 12 Jan 2012 20:26:45 +0000 (15:26 -0500)
committerSamual <samual@xonotic.org>
Thu, 12 Jan 2012 20:26:45 +0000 (15:26 -0500)
models/null.md3 [deleted file]
qcsrc/client/Main.qc
qcsrc/client/damage.qc

diff --git a/models/null.md3 b/models/null.md3
deleted file mode 100644 (file)
index 288e88f..0000000
Binary files a/models/null.md3 and /dev/null differ
index 71cbbba7fc776fa948d4c3577bc4bb3ee6ab7440..8facbf500ff9a8e2b28567b7b96bd85c88c85ebf 100644 (file)
@@ -197,9 +197,6 @@ void CSQC_Init(void)
        hud_configure_prev = -1;
        tab_panel = -1;
 
-
-       precache_model("models/null.md3");
-
        draw_currentSkin = strzone(strcat("gfx/menu/", cvar_string("menu_skin")));
 }
 
index 620cdc873f81e190ff2b722990c3b531219ddb6a..33e0ab05e121761fe1f7be7f89fb5b1824375769 100644 (file)
@@ -99,7 +99,7 @@ void DamageEffect(vector hitorg, float dmg, float type, float specnum)
        }
 
        e = spawn();
-       setmodel(e, "models/null.md3"); // necessary to attach and read origin // samual: FIXME: this is weird, is there some better way to do this?
+       setmodel(e, "null"); // necessary to attach and read origin // samual: FIXME: this is weird, is there some better way to do this?
        setattachment(e, self, gettaginfo_name); // attach to the given bone
        e.classname = "damage";
        e.owner = self;