http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.00.tar.gz
[xscreensaver] / hacks / blaster.c
index c7cbd54f6c6ee1e0d08a1dff4746c8de71f93a91..dfa67f3ad42fde20ede1288d677bc26e74eba5b6 100644 (file)
@@ -361,10 +361,10 @@ static void move_robots(void)
                                                                                }
                                                                                else {
                                                                                        robots[x].lasers[y].start_y = -robots[x].radius;
-                                                                                       robots[x].lasers[y].end_y = robots[x].lasers[y].start_y + 7;
+                                                                                       robots[x].lasers[y].end_y = robots[x].lasers[y].start_y - 7;
                                                                                }
                                                                                robots[x].lasers[y].start_x = (int)(robots[x].lasers[y].start_y * slope);;
-                                                                               robots[x].lasers[y].start_x = (int)(robots[x].lasers[y].end_y * slope);
+                                                                               robots[x].lasers[y].end_x = (int)(robots[x].lasers[y].end_y * slope);
                                                                        }
                                                                        robots[x].lasers[y].start_x = robots[x].lasers[y].start_x + robots[x].new_x;
                                                                        robots[x].lasers[y].start_y = robots[x].lasers[y].start_y + robots[x].new_y;