mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-19 11:49:09 +00:00
STL fixes needed to link from StartUp to Personal
This commit is contained in:
@ -242,10 +242,10 @@ void plAGAnimInstance::DetachChannels()
|
|||||||
do {
|
do {
|
||||||
plAGChannel *channel = (*i).second;
|
plAGChannel *channel = (*i).second;
|
||||||
channelMod->DetachChannel(channel);
|
channelMod->DetachChannel(channel);
|
||||||
} while (i != fManualDetachChannels.end() && (*++i).first == channelName);
|
} while (++i != fManualDetachChannels.end() && i->first == channelName);
|
||||||
} else {
|
} else {
|
||||||
do {
|
do {
|
||||||
} while (i != fManualDetachChannels.end() && (*++i).first == channelName);
|
} while (++i != fManualDetachChannels.end() && i->first == channelName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -227,12 +227,12 @@ plAGChannel * plAGModifier::MergeChannel(plAGApplicator *app,
|
|||||||
// DETACHCHANNEL
|
// DETACHCHANNEL
|
||||||
hsBool plAGModifier::DetachChannel(plAGChannel * channel)
|
hsBool plAGModifier::DetachChannel(plAGChannel * channel)
|
||||||
{
|
{
|
||||||
plAppTable::iterator i = fApps.begin();
|
size_t i = 0;
|
||||||
hsBool done = false;
|
hsBool done = false;
|
||||||
|
|
||||||
for( ; i != fApps.end(); i++)
|
for( ; i != fApps.size(); i++)
|
||||||
{
|
{
|
||||||
plAGApplicator *app = *i;
|
plAGApplicator *app = fApps[i];
|
||||||
plAGChannel *existingChannel = app->GetChannel();
|
plAGChannel *existingChannel = app->GetChannel();
|
||||||
if(existingChannel)
|
if(existingChannel)
|
||||||
{
|
{
|
||||||
@ -243,9 +243,8 @@ hsBool plAGModifier::DetachChannel(plAGChannel * channel)
|
|||||||
app->SetChannel(replacementChannel);
|
app->SetChannel(replacementChannel);
|
||||||
if( ! replacementChannel && app->AutoDelete())
|
if( ! replacementChannel && app->AutoDelete())
|
||||||
{
|
{
|
||||||
plAppTable::iterator old = i;
|
fApps.erase(fApps.begin()+i);
|
||||||
i--;
|
i--;
|
||||||
fApps.erase(old);
|
|
||||||
delete app;
|
delete app;
|
||||||
}
|
}
|
||||||
done = true;
|
done = true;
|
||||||
|
@ -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.end());it!=(--fCollisionList.begin()); it--)
|
for(bookKeepingList::iterator it= fCollisionList.begin();it!=fCollisionList.end(); it++)
|
||||||
{
|
{
|
||||||
bool alreadyInside;
|
bool alreadyInside;
|
||||||
ResidentSet::iterator HitIt;
|
ResidentSet::iterator HitIt;
|
||||||
|
Reference in New Issue
Block a user