Fix a type ...
This commit is contained in:
parent
dc5a58fdcf
commit
72f2c5c4f4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue