ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/Deliantra/MapWidget.pm
(Generate patch)

Comparing deliantra/Deliantra/Deliantra/MapWidget.pm (file contents):
Revision 1.3 by root, Sun Feb 5 22:53:46 2006 UTC vs.
Revision 1.4 by root, Sun Feb 5 22:55:16 2006 UTC

262 262
263sub coord { 263sub coord {
264 my ($self, $x, $y) = @_; 264 my ($self, $x, $y) = @_;
265 265
266 ( 266 (
267 int $self->{x} + $x / TILESIZE, 267 int +($self->{x} + $x) / TILESIZE,
268 int $self->{y} + $y / TILESIZE, 268 int +($self->{y} + $y) / TILESIZE,
269 ) 269 )
270} 270}
271 271
272#sub handle_key { 272#sub handle_key {
273# my ($self, $key, $state) = @_; 273# my ($self, $key, $state) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines