projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fae8997
)
bugfix highlight
author
realraum
<realraum@realraum.at>
Wed, 13 Jul 2011 20:53:45 +0000
(20:53 +0000)
committer
realraum
<realraum@realraum.at>
Wed, 13 Jul 2011 20:53:45 +0000
(20:53 +0000)
dart/dart-schiffe.pl
patch
|
blob
|
history
diff --git
a/dart/dart-schiffe.pl
b/dart/dart-schiffe.pl
index
5eb5bed
..
e2a3e35
100755
(executable)
--- 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});
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}) )
{
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})
{
$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};
my $x_middle = $player->{sel_x};
my $y_middle = $player->{sel_y};
my $mult_x = $player->{mult_x};