game_in_work_example
This commit is contained in:
4
map.cpp
4
map.cpp
@@ -132,7 +132,7 @@ bool Map::addTowerOnMap(int playerId, QPoint pos)
|
||||
bool * pathOK;
|
||||
pathOK = new bool();
|
||||
*pathOK = true;
|
||||
qDebug("emit");
|
||||
//qDebug("emit");
|
||||
emit recreateAlienPath(pathOK);
|
||||
qDebug() << *pathOK;
|
||||
if (!pathOK)
|
||||
@@ -146,7 +146,7 @@ bool Map::addTowerOnMap(int playerId, QPoint pos)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
qDebug()<<"Dont buid here" << Cells[pos.x()][pos.y()];
|
||||
qDebug()<<"Dont buid here" << pos;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user