From 6c4bcc9fd4f6fe6960ceba0d1cb8cb4b64635f72 Mon Sep 17 00:00:00 2001 From: Myway3D Date: Thu, 13 Jul 2023 18:52:46 +0800 Subject: [PATCH] fix eslint error --- cocos/terrain/terrain-asset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/terrain/terrain-asset.ts b/cocos/terrain/terrain-asset.ts index 70642799cbc..156360f280d 100644 --- a/cocos/terrain/terrain-asset.ts +++ b/cocos/terrain/terrain-asset.ts @@ -504,7 +504,7 @@ export class TerrainAsset extends Asset { if (this._version < TERRAIN_DATA_VERSION8) { for (let i = 0; i < this.heights.length; ++i) { const h = (this._heights[i] - TERRAIN_HEIGHT_BASE) * TERRAIN_HEIGHT_FACTORY_V7; - const ch = TERRAIN_HEIGHT_BASE + h / TERRAIN_HEIGHT_FACTORY + const ch = TERRAIN_HEIGHT_BASE + h / TERRAIN_HEIGHT_FACTORY; this.heights[i] = ch; } }