Skip to content

Commit

Permalink
SDLx::Controller compatibility change.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer committed Aug 15, 2010
1 parent 661f500 commit d67cbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Games/Maze/SDL/Model/Player.pm
Expand Up @@ -97,7 +97,7 @@ after 'direction' => sub {
};

sub move {
my ( $self, $dt ) = @_;
my ( $self, undef, $dt ) = @_;

my ( $x, $y ) = ( $self->x, $self->y );
my ( $a, $v ) = ( $self->acceleration, $self->velocity );
Expand Down

0 comments on commit d67cbfb

Please sign in to comment.