]> ruin.nu Git - icfp05.git/blobdiff - bot/bot.cpp
bugfix
[icfp05.git] / bot / bot.cpp
index 6a486025c77ef869315e0e4f86e971e56e91bf9c..181b423d44c82e714aca3f84a82c882d78c77604 100644 (file)
@@ -72,15 +72,15 @@ void Bot::play(){
 
        //robber and 5 cops
        getline(cin, input);
-       _players[value<string>(input)];
+       _players[value<string>(input)].type = robber;
        getline(cin, input);
-       _players[value<string>(input)];
+       _players[value<string>(input)].type = cop_foot;
        getline(cin, input);
-       _players[value<string>(input)];
+       _players[value<string>(input)].type = cop_foot;
        getline(cin, input);
-       _players[value<string>(input)];
+       _players[value<string>(input)].type = cop_foot;
        getline(cin, input);
-       _players[value<string>(input)];
+       _players[value<string>(input)].type = cop_foot;
 
        cerr << "Got players, building graph." << endl;
        getline(cin, input);