summaryrefslogtreecommitdiffstats
path: root/kpat/card.cpp
diff options
context:
space:
mode:
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"