mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fixed: Compilation
This commit is contained in:
parent
1675e7af3a
commit
1c543641c9
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue