]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/main.qc
Use temp entities for casings instead of the delayed removal shared entity hack
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / main.qc
index da485708e8e2a6c753339cdbde1f950f537b6ab7..2309426cee16fe46b7c4d9a8f00f61aa95368a4c 100644 (file)
@@ -1,7 +1,6 @@
 #include "main.qh"
 #include "_all.qh"
 
-#include "casings.qh"
 #include "controlpoint.qh"
 #include "csqcmodel_hooks.qh"
 #include "damage.qh"
@@ -15,7 +14,6 @@
 #include "mapvoting.qh"
 #include "modeleffects.qh"
 #include "particles.qh"
-#include "prandom.qh"
 #include "scoreboard.qh"
 #include "shownames.qh"
 #include "sortlist.qh"
@@ -164,7 +162,6 @@ void CSQC_Init(void)
        Projectile_Precache();
        Hook_Precache();
        GibSplash_Precache();
-       Casings_Precache();
        Tuba_Precache();
        CSQCPlayer_Precache();
 
@@ -867,7 +864,6 @@ void CSQC_Ent_Update(float bIsNewEntity)
                case ENT_CLIENT_PROJECTILE: Ent_Projectile(); break;
                case ENT_CLIENT_GIBSPLASH: Ent_GibSplash(bIsNewEntity); break;
                case ENT_CLIENT_DAMAGEINFO: Ent_DamageInfo(bIsNewEntity); break;
-               case ENT_CLIENT_CASING: Ent_Casing(bIsNewEntity); break;
                case ENT_CLIENT_INIT: Ent_Init(); break;
                case ENT_CLIENT_SCORES_INFO: Ent_ScoresInfo(); break;
                case ENT_CLIENT_MAPVOTE: Ent_MapVote(); break;