X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fwaypointsprites.qc;h=0e6f2168b863b50c94a7c49dd20659a9315ed879;hb=94579b4c440f739c1203ea5e546d3fcadb884c51;hp=0e62df7cb2cd029a8cd0aa5d183e63f135c1e948;hpb=74a82a7354648fcc2698c19afc0581f7bdc3b1ca;p=xonotic%2Fxonotic-data.pk3dir.git 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;