From 14033946e576edce8fd2cd854425f27b5dda43e5 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 2 Apr 2004 19:48:50 +0000 Subject: [PATCH] Plib is willing callbacks to return 0, 1 or 2 and not simply a boolean --- simgear/scene/model/model.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /** -- 2.39.5