X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fblaster.c;h=dfa67f3ad42fde20ede1288d677bc26e74eba5b6;hp=c7cbd54f6c6ee1e0d08a1dff4746c8de71f93a91;hb=8eb2873d7054e705c4e83f22d18c40946a9e2529;hpb=a1d41b2aa6e18bf9a49b914a99dda8232c5d7762 diff --git a/hacks/blaster.c b/hacks/blaster.c index c7cbd54f..dfa67f3a 100644 --- a/hacks/blaster.c +++ b/hacks/blaster.c @@ -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;