Permalink
Browse files

Tidied.

  • Loading branch information...
1 parent 010ef14 commit 977bace67d07655e53f74565ddf8a0ec73490d4b @jtpalmer committed Aug 17, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/Games/Maze/SDL/Model/Player.pm
@@ -183,9 +183,10 @@ sub move {
}
);
- my @dimensions = abs($v{y}) > abs($v{x})
- ? ([qw( x y )], [qw( y x )])
- : ([qw( y x )], [qw( x y )]);
+ my @dimensions
+ = abs( $v{y} ) > abs( $v{x} )
+ ? ( [qw( x y )], [qw( y x )] )
+ : ( [qw( y x )], [qw( x y )] );
foreach my $dimensions (@dimensions) {
my ( $dimension, $other_dimension ) = @$dimensions;

0 comments on commit 977bace

Please sign in to comment.