From: ehofman Date: Fri, 2 Apr 2004 19:48:50 +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=14033946e576edce8fd2cd854425f27b5dda43e5;p=simgear.git Plib is willing callbacks to return 0, 1 or 2 and not simply a boolean --- diff --git a/simgear/scene/model/model.cxx b/simgear/scene/model/model.cxx index 66de79b5..be5d9f48 100644 --- a/simgear/scene/model/model.cxx +++ b/simgear/scene/model/model.cxx @@ -43,7 +43,7 @@ model_filter = true; static int model_filter_callback (ssgEntity * entity, int mask) { - return model_filter; + return model_filter ? 1 : 0; } /**