![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#5
|
||||
|
Quote:
Code:
for(iterator hate_list.begin(); iterator != hate_list.end(); iterator++)
if(isPet(*iterator))
pets_attacking++;
if (pets_attacking > 4)
//you get the idea
| |||
|
|
||||
|
|