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

Comparing deliantra/Deliantra-Client/DC/MapWidget.pm (file contents):
Revision 1.114 by root, Mon Jul 23 23:52:41 2007 UTC vs.
Revision 1.115 by elmex, Fri Jul 27 18:04:42 2007 UTC

183 183
184 $x -= CFPlus::floor $::MAP->w * 0.5; 184 $x -= CFPlus::floor $::MAP->w * 0.5;
185 $y -= CFPlus::floor $::MAP->h * 0.5; 185 $y -= CFPlus::floor $::MAP->h * 0.5;
186 186
187 if ($::CONN) { 187 if ($::CONN) {
188 if ($::IN_BUILD_MODE) {
189 $::CONN->buildat ($::IN_BUILD_MODE, $x, $y);
190 } else {
191 $::CONN->lookat ($x, $y) 188 $::CONN->lookat ($x, $y)
192 }
193 } 189 }
194 190
195 } elsif ($ev->{button} == 2) { 191 } elsif ($ev->{button} == 2) {
196 $self->grab_focus; 192 $self->grab_focus;
197 return unless $::CONN; 193 return unless $::CONN;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines