config: updated project config

This commit is contained in:
A.M. Rowsell 2025-08-06 09:29:41 -04:00
commit cc37d834fe
Signed by untrusted user who does not match committer: amr
GPG key ID: E0879EDBDB0CA7B1
3 changed files with 9 additions and 2 deletions

View file

@ -58,7 +58,7 @@ std::vector<Move> Rook::getLegalMoves(const Square &from, const Board &board) co
if (!target) {
moveList.push_back({from,
targetSquare});
} else if (target->getColour() != this->getColour()) {
} else if (target && target->getColour() != this->getColour()) {
moveList.push_back({from,
targetSquare});
break;

View file

@ -39,6 +39,10 @@
<itemPath>NeoPixel.cpp</itemPath>
</logicalFolder>
</logicalFolder>
<sourceRootList>
<Elem>.</Elem>
<Elem>inc</Elem>
</sourceRootList>
<projectmakefile>Makefile</projectmakefile>
<confs>
<conf name="Debug" type="2">

View file

@ -8,7 +8,10 @@
<make-project-type>0</make-project-type>
<sourceEncoding>UTF-8</sourceEncoding>
<make-dep-projects/>
<sourceRootList/>
<sourceRootList>
<sourceRootElem>.</sourceRootElem>
<sourceRootElem>inc</sourceRootElem>
</sourceRootList>
<confList>
<confElem>
<name>Debug</name>