Esempio n. 1
0
void HostileRefManager::addThreatPercent(int32 percent)
{
    HostileReference* ref = getFirst();
    while (ref)
    {
        ref->addThreatPercent(percent);
        ref = ref->next();
    }
}
Esempio n. 2
0
void HostileRefManager::addThreatPercent(int32 pValue)
{
    HostileReference* ref;

    ref = getFirst();
    while(ref != NULL)
    {
        ref->addThreatPercent(pValue);
        ref = ref->next();
    }
}
Esempio n. 3
0
void HostileRefManager::addThreatPercent(int32 pValue)
{
    for (HostileReference* ref = getFirst(); ref != NULL; ref = ref->next())
        ref->addThreatPercent(pValue);
}