]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix two model precaches
authorRudolf Polzer <divverent@xonotic.org>
Sat, 27 Aug 2011 16:03:23 +0000 (18:03 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 27 Aug 2011 16:03:23 +0000 (18:03 +0200)
qcsrc/server/gamecommand.qc
qcsrc/server/nexball.qc

index 8449157705c9c3a38dcad3ccc54c3c8e12a3130f..9203eadbf41c6fbbd63a594a01b87fd01eb692c2 100644 (file)
@@ -690,7 +690,7 @@ void modelbug()
        entity e;
        e = spawn();
        setorigin(e, nextent(world).origin);
-       precache_model("models_portal.md3");
+       precache_model("models/portal.md3");
        setmodel(e, "models/portal.md3");
        e.think = modelbug_make_svqc;
        e.nextthink = time + 1;
index 61385f6b5e86bd233dee19d7ee7ca523c495fc4a..3aa65f6f5aeda2f0ef6ee6f03c6180520fb64848 100644 (file)
@@ -717,7 +717,7 @@ float w_nexball_weapon(float req)
        {
                precache_model ("models/weapons/g_porto.md3");
                precache_model ("models/weapons/v_porto.md3");
-               precache_model ("models/weapons/h_porto.dpm");
+               precache_model ("models/weapons/h_porto.iqm");
                precache_model ("models/elaser.mdl");
                precache_sound ("nexball/shoot1.wav");
                precache_sound ("nexball/shoot2.wav");