From 22f7e542853e5911518f48d67250e77fdead8219 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sun, 10 Jul 2005 13:15:41 +0000 Subject: [PATCH] don't vote if there is no plan --- botsrc/bot.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2