소스 검색

trails : fix compilation error

lviguier 1 년 전
부모
커밋
a35393dbf4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hrt/prefab/l3d/Trails.hx

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

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