--- kde-2.2/kdegames/kpat/card.cpp.orig Mon Aug 13 11:12:06 2001 +++ kde-2.2/kdegames/kpat/card.cpp Mon Aug 13 11:13:27 2001 @@ -153,13 +153,13 @@ **********************************************************************/ static const double flipLift = 1.2; -int Card::hz = 0; +int Card::_hz = 0; void Card::setZ(int z) { QCanvasRectangle::setZ(z); - if (z > hz) - hz = z; + if (z > _hz) + _hz = z; } void Card::flipTo(int x2, int y2, int steps) @@ -177,7 +177,7 @@ destX = x2; destY = y2; destZ = int(z()); - setZ(hz++); + setZ(_hz++); animSteps = flipSteps; setVelocity(dx/animSteps, dy/animSteps-flipLift); setAnimated(TRUE); @@ -219,7 +219,7 @@ setZ(z2); return; } - setZ(hz++); + setZ(_hz++); if (steps) { // Ensure a good speed @@ -269,7 +269,7 @@ destZ = int(z()); destX = int(x()); destY = int(y()); - setZ(hz+1); + setZ(_hz+1); animSteps = steps; setVelocity(0, 0); setAnimated(TRUE); --- kde-2.2/kdegames/kpat/card.h.orig Mon Aug 13 12:36:16 2001 +++ kde-2.2/kdegames/kpat/card.h Mon Aug 13 12:36:20 2001 @@ -104,7 +104,7 @@ bool flipping; int savedX, savedY; double scaleX, scaleY; - static int hz; + static int _hz; bool tookDown; };