From aa040ef0c33d7fbc596436780c62c3798ad6e919 Mon Sep 17 00:00:00 2001 From: Michal Vokac Date: Thu, 15 Dec 2011 01:54:12 +0100 Subject: [PATCH] Remove NOP :) --- src/robofsm/common-states.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/robofsm/common-states.cc b/src/robofsm/common-states.cc index ce4aa36c..d83c2bef 100644 --- a/src/robofsm/common-states.cc +++ b/src/robofsm/common-states.cc @@ -299,7 +299,7 @@ FSM_STATE(move_around) switch (FSM_EVENT) { case EV_ENTRY: - do {; + do { goalx = ((rand()%PLAYGROUND_HEIGHT_MM)/1000.0); goaly += ((rand()%PLAYGROUND_WIDTH_MM)/1000.0); } while (!ShmapIsFreePoint(goalx, goaly) && close_goal(goalx, goaly)); -- 2.39.2