]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_weaponsystem.qc
Use modelindex to hide dead fakeprey. Also fix another issue, which was causing the...
[voretournament/voretournament.git] / data / qcsrc / server / cl_weaponsystem.qc
index 00360d68cb8b6d0d4d1aa89565ea1b32a312b87b..d8069134209f8ac07a1096580917db10ba1ea4f4 100644 (file)
@@ -262,7 +262,7 @@ float CL_ExteriorWeaponentity_CustomizeEntityForClient()
        }\r
        if(other.spectatee_status)\r
                other = other.enemy; // also do this for the player we are spectating\r
        }\r
        if(other.spectatee_status)\r
                other = other.enemy; // also do this for the player we are spectating\r
-       if(other.predator == self.owner)\r
+       if(other.predator == self.owner || other.fakepredator == self.owner)\r
        {\r
                setmodel(self, "");\r
                return TRUE;\r
        {\r
                setmodel(self, "");\r
                return TRUE;\r