summaryrefslogtreecommitdiffstats
path: root/ksnake/snake.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-07 15:50:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-07 23:25:01 +0900
commit664580ffc694a1f9e7ab25d4636ca9696a38d958 (patch)
treedaea2bbeea9cce36e9c8fe66afd1930e397e7ebd /ksnake/snake.h
parentd62a856cb43f9a527dc936783d18fbfe4cc0d9c2 (diff)
downloadtdegames-r14.1.4.tar.gz
tdegames-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 66230b1cca2fa5c95886d8cf708829e4bfac2b10)
Diffstat (limited to 'ksnake/snake.h')
-rw-r--r--ksnake/snake.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksnake/snake.h b/ksnake/snake.h
index 396f928a..6bfda05e 100644
--- a/ksnake/snake.h
+++ b/ksnake/snake.h
@@ -69,7 +69,7 @@ protected:
void appendSamy();
void updateSamy();
int tail() const { return (list.count() -1 ); }
- bool growing() const { return (grow > 0 ? TRUE : FALSE); }
+ bool growing() const { return (grow > 0); }
int hold;
int grow;