]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
don't hide invisibility in minstagib (fixes #876)
authorRudolf Polzer <divverent@alientrap.org>
Mon, 12 Dec 2011 05:55:45 +0000 (06:55 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 12 Dec 2011 05:55:59 +0000 (06:55 +0100)
qcsrc/server/waypointsprites.qc

index 0e62df7cb2cd029a8cd0aa5d183e63f135c1e948..0e6f2168b863b50c94a7c49dd20659a9315ed879 100644 (file)
@@ -241,7 +241,7 @@ float WaypointSprite_Customize()
        // as a GENERAL rule:
        // if you have the invisibility powerup, sprites ALWAYS are restricted to your team
        // but only apply this to real players, not to spectators
-       if(g_minstagib && (self.owner.items & IT_STRENGTH) && (e == other))
+       if(g_minstagib && (self.owner.flags & FL_CLIENT) && (self.owner.items & IT_STRENGTH) && (e == other))
        {
                if(!WaypointSprite_isteammate(self.owner, e))
                        return FALSE;