From: Michael Andreen Date: Sun, 10 Jul 2005 13:15:41 +0000 (+0000) Subject: don't vote if there is no plan X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=commitdiff_plain;h=22f7e542853e5911518f48d67250e77fdead8219 don't vote if there is no plan --- diff --git a/botsrc/bot.cpp b/botsrc/bot.cpp index 168a0a9..81bb7a9 100644 --- a/botsrc/bot.cpp +++ b/botsrc/bot.cpp @@ -197,6 +197,9 @@ void Bot::updateWorld(){ if (input == "sc/") break; istringstream controlledCop(input); + controlledCop >> input; + controlledCop >> input; + _winningPlans.erase(input); } getline(cin,input);