This commit is contained in:
aozhiwei 2021-04-09 12:50:56 +08:00
parent fde9d6062a
commit 7fbeb35d8e

View File

@ -190,7 +190,7 @@ void MapService::GetColliders(Room* room,
} }
struct CellNode *node, *tmp; struct CellNode *node, *tmp;
list_for_each_entry_safe(node, tmp, head, entry) { list_for_each_entry_safe(node, tmp, head, entry) {
if (node->collider->tag != 0) { if (node->collider->tag != 0 && !a8::HasBitFlag(node->collider->tag, kHalfWallTag)) {
continue; continue;
} }
switch (node->collider->owner->GetEntityType()) { switch (node->collider->owner->GetEntityType()) {