From be2bff433df06df257184cb9ee662e140c66b457 Mon Sep 17 00:00:00 2001 From: EmaMaker Date: Wed, 12 Feb 2020 21:44:30 +0100 Subject: [PATCH] status vector now working better. Still have to fix something --- src/goalie.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/goalie.cpp b/src/goalie.cpp index 437a620..275c9a0 100755 --- a/src/goalie.cpp +++ b/src/goalie.cpp @@ -37,19 +37,11 @@ void Goalie::goalie(int plusang) { else dir = dir; storcimentoPorta(); -<<<<<<< HEAD if(ball->distance > 200 && (ball->angle > 340 || ball->angle < 20)) drive->prepareDrive(dir, 350, cstorc); else { drive->prepareDrive(dir, 350, 0); cstorc = 0; } -======= - //if(ball->distance > 200 && (ball->angle > 340 || ball->angle < 20)) drive->prepareDrive(ball->dir, 350, cstorc); - //else { - drive->prepareDrive(ball->dir, 350, 0); - // cstorc = 0; - //} ->>>>>>> 5a9ce6692fe1b3165fa36a1f5a11c729c8818dd4 } }