Commit cf1f1ba8 authored by Denis Khachko's avatar Denis Khachko

robotModule console mode

parent 8c4e8513
......@@ -3477,6 +3477,12 @@ namespace ActorRobot {
CFieldItem* ConsoleField::getItem(int row,int col)
{
if(row>rows.count()-1 || col>rows.at(row).count()-1)
{
qDebug()<<"ERROR!!! NO ITEM!!"<<row<<" "<<col<<" rows: "<<rows.count();
return NULL;
}
return rows.at(row).at(col);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment