Commit f073ff96 authored by Alexander A. Maly's avatar Alexander A. Maly

Fixing crash at runDownChar

parent c85fd723
......@@ -849,8 +849,8 @@ qreal RobotModule::runCellRad(int row, int col)
QChar RobotModule::runDownChar(int row, int col)
{
qDebug() << "Get DC R:" << row << " C:" << col << " ROWS" << curConsoleField->Rows();
if (!DISPLAY) {
qDebug() << "Get DC R:" << row << " C:" << col << " ROWS" << curConsoleField->Rows();
uint32_t r = row - 1, c = col - 1;
if (
r >= curConsoleField->Rows() ||
......
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