mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 20:59:09 +00:00
Don't change the iteration order
This commit is contained in:
@ -624,7 +624,7 @@ void plObjectInVolumeDetector::IHandleEval(plEvalMsg* pEval)
|
|||||||
{
|
{
|
||||||
plgDispatch::Dispatch()->UnRegisterForExactType(plEvalMsg::Index(), GetKey());
|
plgDispatch::Dispatch()->UnRegisterForExactType(plEvalMsg::Index(), GetKey());
|
||||||
fWaitingForEval = false;
|
fWaitingForEval = false;
|
||||||
for(bookKeepingList::iterator it= fCollisionList.begin();it!=fCollisionList.end(); it++)
|
for(bookKeepingList::reverse_iterator it= fCollisionList.rbegin();it!=fCollisionList.rend(); it++)
|
||||||
{
|
{
|
||||||
bool alreadyInside;
|
bool alreadyInside;
|
||||||
ResidentSet::iterator HitIt;
|
ResidentSet::iterator HitIt;
|
||||||
@ -1152,4 +1152,4 @@ hsBool plRidingAnimatedPhysicalDetector::MsgReceive(plMessage *msg)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return plSimpleRegionSensor::MsgReceive(msg);
|
return plSimpleRegionSensor::MsgReceive(msg);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user