feat: finish one rule in BMapInspector.
- finish one rule in BMapInspector. - fix CKObjectManager find object by name feature.
This commit is contained in:
1 parent
e6e714f2c9
commit
c11220d54b
14 files changed
+268
-19
No files matched your search
@@ -185,8 +185,8 @@ namespace LibCmo::CK2::MgrImpls {
|
||||
}
|
||||
|
||||
// iterate all sub object and check name
|
||||
for (const auto& objoff : m_ObjectsListByClass[i]) {
|
||||
ObjImpls::CKObject* obj = m_ObjectsList[objoff];
|
||||
for (const auto& objid : m_ObjectsListByClass[i]) {
|
||||
ObjImpls::CKObject* obj = m_ObjectsList[Id2Offset(objid)];
|
||||
|
||||
if (name == nullptr) {
|
||||
// directly add
|
||||
|
||||
Reference in new issue
Block a user