summaryrefslogtreecommitdiffstats
path: root/kpat/card.cpp
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 /kpat/card.cpp
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 'kpat/card.cpp')
-rw-r--r--kpat/card.cpp6
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"