2
0
Эх сурвалжийг харах

trails : fix compilation error

lviguier 1 жил өмнө
parent
commit
a35393dbf4

+ 1 - 1
hrt/prefab/l3d/Trails.hx

@@ -470,7 +470,7 @@ class TrailObj extends h3d.scene.Mesh {
 
 
 		updateParams();
 		updateParams();
 
 
-		if (trails != null && trails.length > 0) {
+		if (trails != null) {
 			var pos = this.getAbsPos();
 			var pos = this.getAbsPos();
 			addPoint(trails[0], pos.tx, pos.ty, pos.tz, ECamera, 1.0);
 			addPoint(trails[0], pos.tx, pos.ty, pos.tz, ECamera, 1.0);
 		}
 		}