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

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.186 by root, Sat Apr 21 09:25:31 2007 UTC vs.
Revision 1.187 by root, Sat Apr 21 23:36:20 2007 UTC

1396 CODE: 1396 CODE:
1397{ 1397{
1398 if (dx > 0) 1398 if (dx > 0)
1399 map_blank (self, self->x, self->y, dx, self->h); 1399 map_blank (self, self->x, self->y, dx, self->h);
1400 else if (dx < 0) 1400 else if (dx < 0)
1401 map_blank (self, self->x + self->w + dx + 1, self->y, -dx, self->h); 1401 map_blank (self, self->x + self->w + dx, self->y, -dx, self->h);
1402 1402
1403 if (dy > 0) 1403 if (dy > 0)
1404 map_blank (self, self->x, self->y, self->w, dy); 1404 map_blank (self, self->x, self->y, self->w, dy);
1405 else if (dy < 0) 1405 else if (dy < 0)
1406 map_blank (self, self->x, self->y + self->h + dy + 1, self->w, -dy); 1406 map_blank (self, self->x, self->y + self->h + dy, self->w, -dy);
1407 1407
1408 self->ox += dx; self->x += dx; 1408 self->ox += dx; self->x += dx;
1409 self->oy += dy; self->y += dy; 1409 self->oy += dy; self->y += dy;
1410 1410
1411 while (self->y < 0) 1411 while (self->y < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines