修改错误的TryBitsByBodyId返回值
This commit is contained in:
@@ -922,7 +922,7 @@ namespace Engine {
|
|||||||
const auto& found = m_BodyToEntity.find(id.GetIndexAndSequenceNumber());
|
const auto& found = m_BodyToEntity.find(id.GetIndexAndSequenceNumber());
|
||||||
if (found == m_BodyToEntity.end()) return false;
|
if (found == m_BodyToEntity.end()) return false;
|
||||||
outBits = found->second;
|
outBits = found->second;
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- 射线查询 ----
|
// ---- 射线查询 ----
|
||||||
|
|||||||
Reference in New Issue
Block a user