X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fblaster.c;h=dfa67f3ad42fde20ede1288d677bc26e74eba5b6;hb=3f438031d610c7e15fd33876a879b97e290e05fb;hp=c7cbd54f6c6ee1e0d08a1dff4746c8de71f93a91;hpb=5832fe184606766fef23369159306c0a5799aeb0;p=xscreensaver 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;