1
0
Fork 0

Fix a type ...

This commit is contained in:
curt 2004-01-26 22:44:27 +00:00
parent dc5a58fdcf
commit 72f2c5c4f4

View file

@ -177,7 +177,7 @@ void FGTileMgr::schedule_needed( double vis, SGBucket curr_bucket) {
xrange = (int)(vis / tile_width) + 1; xrange = (int)(vis / tile_width) + 1;
yrange = (int)(vis / tile_height) + 1; yrange = (int)(vis / tile_height) + 1;
if ( xrange < 1 ) { xrange /= 1; } if ( xrange < 1 ) { xrange = 1; }
if ( yrange < 1 ) { yrange = 1; } if ( yrange < 1 ) { yrange = 1; }
// note * 2 at end doubles cache size (for fdm and viewer) // note * 2 at end doubles cache size (for fdm and viewer)