POIs, and relations, and stuff :)
[potlatch2.git] / net / systemeD / halcyon / styleparser / Rule.as
index 061d1dd7536e3ee518e3d0e97930038336f1e4a7..c3d0bb2f1a59bb97904537803e12eeade2317480 100644 (file)
@@ -17,7 +17,7 @@ package net.systemeD.halcyon.styleparser {
                public function test(obj:Entity,tags:Object):Boolean {
                        if (subject!='' && obj.getType()!=subject) { return false; }
                        
-                       var v:Boolean; var i:uint=0;
+                       var v:Boolean=true; var i:uint=0;
                        for each (var condition:Condition in conditions) {
                                var r:Boolean=condition.test(tags);
                                if (i==0) { v=r; }