Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix reversed width and height.

  • Loading branch information...
commit 3bdb5b333af76b17fb69d561eb0e7c9859e2889a 1 parent d0b2189
@jtpalmer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Games/Maze/SDL/Model/Maze.pm
View
4 lib/Games/Maze/SDL/Model/Maze.pm
@@ -169,8 +169,8 @@ sub cell_walls {
my $min_x = ( $x - 1 ) * $self->cell_width;
my $min_y = ( $y - 1 ) * $self->cell_height;
- my $max_x = $min_x + $self->cell_height;
- my $max_y = $min_y + $self->cell_width;
+ my $max_x = $min_x + $self->cell_width;
+ my $max_y = $min_y + $self->cell_height;
my @walls;
Please sign in to comment.
Something went wrong with that request. Please try again.