Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void soul::removefromlist(int action){
- for(int A = 0; A<actionlist.size(); A++){
- if(actionlist[A]==action){
- actionlist.erase(actionlist.begin()+A);
- cout << "Action " << action << " has been removed." << endl;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement