From: Rudolf Polzer <divverent@alientrap.org>
Date: Mon, 12 Dec 2011 05:55:45 +0000 (+0100)
Subject: don't hide invisibility in minstagib (fixes #876)
X-Git-Tag: xonotic-v0.6.0~74^2~113
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5de72f2d52db47f1332b6769948dbdea7aa939df;p=xonotic%2Fxonotic-data.pk3dir.git

don't hide invisibility in minstagib (fixes #876)
---

diff --git a/qcsrc/server/waypointsprites.qc b/qcsrc/server/waypointsprites.qc
index 0e62df7cb..0e6f2168b 100644
--- a/qcsrc/server/waypointsprites.qc
+++ b/qcsrc/server/waypointsprites.qc
@@ -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;