Index: Games/Pingus/src/spot_map.cxx =================================================================== RCS file: /usr/local/cvsroot/Games/Pingus/src/spot_map.cxx,v retrieving revision 1.21 diff -u -r1.21 spot_map.cxx --- Games/Pingus/src/spot_map.cxx 17 Oct 2002 00:10:46 -0000 1.21 +++ Games/Pingus/src/spot_map.cxx 20 Dec 2002 22:27:58 -0000 @@ -236,9 +236,9 @@ int start_x = Math::max(x / tile_size, 0); int start_y = Math::max(y / tile_size, 0); int end_x = Math::min((x + sprovider->get_width()) / tile_size, - static_cast(width/tile_size)); + static_cast((width - 1) / tile_size)); int end_y = Math::min((y + sprovider->get_height()) / tile_size, - static_cast(height/tile_size)); + static_cast((height - 1) / tile_size));