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 0e62df7..0e6f216 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;