From: ehofman Date: Fri, 2 Apr 2004 19:49:51 +0000 (+0000) Subject: Plib is willing callbacks to return 0, 1 or 2 and not simply a boolean X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7902c049052b973a2f8d22fa271a97a7facacd1e;p=flightgear.git Plib is willing callbacks to return 0, 1 or 2 and not simply a boolean --- diff --git a/src/Scenery/tilemgr.cxx b/src/Scenery/tilemgr.cxx index ea5b4b2fc..c7da20b2c 100644 --- a/src/Scenery/tilemgr.cxx +++ b/src/Scenery/tilemgr.cxx @@ -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; }