This commit is contained in:
aozhiwei 2019-04-22 11:06:02 +08:00
parent 7559a242ea
commit bcce9d68d0

View File

@ -363,7 +363,7 @@ Human* Room::FindEnemy(Human* hum)
void Room::CollisionDetection(Entity* sender, int detection_flags, std::vector<Entity*>& objects)
{
assert(uniid_hash_.size() < 1000);
assert(uniid_hash_.size() < 2000);
for (auto& pair : uniid_hash_) {
if (sender == pair.second) {
continue;