|
@@ -199,7 +199,7 @@ Vector<RID> PhysicsShapeQueryParameters2D::get_exclude() const {
|
|
ret.resize(exclude.size());
|
|
ret.resize(exclude.size());
|
|
int idx = 0;
|
|
int idx = 0;
|
|
for (Set<RID>::Element *E = exclude.front(); E; E = E->next()) {
|
|
for (Set<RID>::Element *E = exclude.front(); E; E = E->next()) {
|
|
- ret.write[idx] = E->get();
|
|
|
|
|
|
+ ret.write[idx++] = E->get();
|
|
}
|
|
}
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|