diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2017-08-13 11:04:07 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2017-08-13 11:04:07 +0000 |
commit | b23371a285fda6db980f01332603d51bc0c07053 (patch) | |
tree | 6cead4509b6b410bbdd399495c62a300755ee751 /games | |
parent | ef462b136a4e934257c59dc5fe524893fa47e622 (diff) | |
download | ports-b23371a285fda6db980f01332603d51bc0c07053.tar.gz ports-b23371a285fda6db980f01332603d51bc0c07053.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/critterding/files/patch-src_brainz_brainz.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/critterding/files/patch-src_brainz_brainz.cpp b/games/critterding/files/patch-src_brainz_brainz.cpp new file mode 100644 index 000000000000..d2d525d43f58 --- /dev/null +++ b/games/critterding/files/patch-src_brainz_brainz.cpp @@ -0,0 +1,14 @@ +brainz.cpp: In member function 'void Brainz::processTillAnswer()': +brainz.cpp:140:24: error: cannot convert 'bool' to 'bool*' in assignment + Outputs[i].output = false; +--- src/brainz/brainz.cpp.orig 2017-07-28 12:12:16 UTC ++++ src/brainz/brainz.cpp +@@ -137,7 +137,7 @@ Brainz::Brainz() + + // clear Motor Outputs + for ( unsigned int i=0; i < numberOfOutputs; i++ ) +- Outputs[i].output = false; ++ *Outputs[i].output = false; + + // clear Neurons + for ( unsigned int i=0; i < totalNeurons; i++ ) |