From 6fb4173508723ddbb43ae1942e766ec08a6d937a Mon Sep 17 00:00:00 2001 From: realraum Date: Wed, 13 Jul 2011 20:53:45 +0000 Subject: [PATCH] bugfix highlight --- dart/dart-schiffe.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dart/dart-schiffe.pl b/dart/dart-schiffe.pl index 5eb5bed..e2a3e35 100755 --- a/dart/dart-schiffe.pl +++ b/dart/dart-schiffe.pl @@ -155,6 +155,7 @@ sub shoot my $player=$self->get_current_player(); delete ($player->{last_hit}); $player->{highlight}{shoot}=Clone::clone($self->{empty_matrix}); + $player->{highlight}{selected}=Clone::clone($self->{empty_matrix}); if ( (not $main::x{$zahl}) and (not $main::y{$zahl}) ) { @@ -172,7 +173,6 @@ sub shoot $self->shout_last_shoot(); if ($player->{sel_x} && $player->{sel_y}) { - $player->{highlight}{selected}=Clone::clone($self->{empty_matrix}); my $x_middle = $player->{sel_x}; my $y_middle = $player->{sel_y}; my $mult_x = $player->{mult_x}; -- 1.7.10.4