Plib is willing callbacks to return 0, 1 or 2 and not simply a boolean
This commit is contained in:
parent
ace81503d6
commit
7902c04905
1 changed files with 1 additions and 1 deletions
|
@ -521,5 +521,5 @@ bool FGTileMgr::set_tile_filter( bool f ) {
|
|||
|
||||
int FGTileMgr::tile_filter_cb( ssgEntity *, int )
|
||||
{
|
||||
return tile_filter;
|
||||
return tile_filter ? 1 : 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue