]> ruin.nu Git - icfp05.git/blobdiff - botsrc/bot.cpp
don't vote if there is no plan
[icfp05.git] / botsrc / bot.cpp
index 168a0a904ee553dbacdd44ddbb4dbe9bc770ddf7..81bb7a9b7ebb0520edbec780559a640f84ec62c6 100644 (file)
@@ -197,6 +197,9 @@ void Bot::updateWorld(){
                if (input == "sc/")
                        break;
                istringstream controlledCop(input);
+               controlledCop >> input;
+               controlledCop >> input;
+               _winningPlans.erase(input);
        }
 
        getline(cin,input);