]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix "HELP ME, NEEDING HELP" bug ;)
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 22 Jun 2011 04:45:08 +0000 (06:45 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 22 Jun 2011 04:45:08 +0000 (06:45 +0200)
qcsrc/server/cl_impulse.qc

index 6374bd2c016501737f00c805adf352c110aeb9f2..3dfd2a6aa7d1449d6950da633e59f170f3f0db8d 100644 (file)
@@ -161,9 +161,9 @@ void ImpulseCommands (void)
                                {
                                        wp = WaypointSprite_Attach("helpme", TRUE, RADARICON_HELPME, '1 0.5 0');
                                        if(!wp)
-                                               wp = self.waypointsprite_attachedforcarrier; // flag sprite?
-                                       if(wp)
-                                               WaypointSprite_HelpMePing(wp);
+                                               WaypointSprite_HelpMePing(self.waypointsprite_attachedforcarrier);
+                                       else
+                                               WaypointSprite_Ping(wp);
                                        sprint(self, "HELP ME attached\n");
                                }
                                break;