diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-07 15:50:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-07 23:25:01 +0900 |
commit | 664580ffc694a1f9e7ab25d4636ca9696a38d958 (patch) | |
tree | daea2bbeea9cce36e9c8fe66afd1930e397e7ebd /kpat/card.cpp | |
parent | d62a856cb43f9a527dc936783d18fbfe4cc0d9c2 (diff) | |
download | tdegames-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 'kpat/card.cpp')
-rw-r--r-- | kpat/card.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpat/card.cpp b/kpat/card.cpp index d3dba426..09773711 100644 --- a/kpat/card.cpp +++ b/kpat/card.cpp @@ -288,7 +288,7 @@ void Card::flipTo(int x2, int y2, int steps) m_animSteps = steps; setVelocity(dx/m_animSteps, dy/m_animSteps-flipLift); - setAnimated(TRUE); + setAnimated(true); } @@ -336,7 +336,7 @@ void Card::setAnimated(bool anim) // Reset all things that might have changed during the animation. scaleX = 1.0; scaleY = 1.0; - m_flipping = FALSE; + m_flipping = false; setVelocity(0, 0); // Move the card to its destination immediately. @@ -374,7 +374,7 @@ void Card::getUp(int steps) // Animation m_animSteps = steps; setVelocity(0, 0); - setAnimated(TRUE); + setAnimated(true); } #include "card.moc" |