1
This commit is contained in:
parent
7559a242ea
commit
bcce9d68d0
@ -363,7 +363,7 @@ Human* Room::FindEnemy(Human* hum)
|
|||||||
|
|
||||||
void Room::CollisionDetection(Entity* sender, int detection_flags, std::vector<Entity*>& objects)
|
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_) {
|
for (auto& pair : uniid_hash_) {
|
||||||
if (sender == pair.second) {
|
if (sender == pair.second) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user