This commit is contained in:
aozhiwei 2023-03-27 13:29:02 +08:00
parent d9898873d9
commit 4239f2c7fc

View File

@ -1,5 +1,7 @@
#include "precompile.h"
#include <f8/udplog.h>
#include "mapcollider.h"
static const float MAP_SCALE = 10;
@ -119,9 +121,19 @@ namespace mc
node->parent = this;
node->Read(childs_arr->At(i));
if (childs.find(node->name) != childs.end()) {
#if 1
f8::UdpLog::Instance()->Warning
(
"node->name:%s exists",
{
node->name
});
#else
A8_ABORT();
#endif
} else {
childs[node->name] = node;
}
childs[node->name] = node;
}
}
}