Fixed: Compilation

This commit is contained in:
kervala 2015-01-13 20:35:34 +01:00
parent 1675e7af3a
commit 1c543641c9

View file

@ -1970,9 +1970,13 @@ NLMISC_COMMAND(displayVision3x3,"display 3x3 cell vision centred on a given coor
} }
} }
double dx, dy;
NLMISC::fromString(args[1], dx);
NLMISC::fromString(args[2], dy);
CAICoord x, y; CAICoord x, y;
NLMISC::fromString(args[1], x); x = dx;
NLMISC::fromString(args[2], y); y = dy;
log.displayNL("3x3 Vision around (%.3f,%.3f)", x.asDouble(), y.asDouble()); log.displayNL("3x3 Vision around (%.3f,%.3f)", x.asDouble(), y.asDouble());
uint32 botCount=0; uint32 botCount=0;