From 2603ce3652998412b193b283926ea9be551dc551 Mon Sep 17 00:00:00 2001 From: chencheng31 Date: Mon, 9 May 2022 14:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=90=8D=E8=87=AA=E5=8A=A8=E5=88=86=E9=85=8D=E8=B5=84=E6=BA=90?= =?UTF-8?q?ID=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chencheng31 --- src/resource_pack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resource_pack.cpp b/src/resource_pack.cpp index 77bc355..6cf0cbf 100644 --- a/src/resource_pack.cpp +++ b/src/resource_pack.cpp @@ -123,7 +123,7 @@ uint32_t ResourcePack::InitModule() } int32_t startId = ((it - moduleNames.begin()) + 1) * 0x01000000; - if (startId == 0x07000000) { + if (startId >= 0x07000000) { startId = startId + 0x01000000; } return idWorker.Init(hapType, startId);