1
This commit is contained in:
parent
d9898873d9
commit
4239f2c7fc
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user