From e70a87feacd827baea78d94ae9598c32f6fc0086 Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Mon, 9 May 2011 01:11:15 -0300 Subject: [PATCH] Removing evolutionary artifact. --- lib/game.c | 2 +- lib/game.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/game.c b/lib/game.c index 0c76873..a387478 100644 --- a/lib/game.c +++ b/lib/game.c @@ -32,7 +32,7 @@ bool foundation_stack(struct stack *stack) { bool maneuvre_stack(struct stack *stack) { return(stack && stack->card && stack->card->frame && - stack->card->frame->begin_y >= MANEUVRE_STACKS_BEGIN_Y && + stack->card->frame->begin_y >= MANEUVRE_BEGIN_Y && (stack->card->frame->begin_x == MANEUVRE_0_BEGIN_X || stack->card->frame->begin_x == MANEUVRE_1_BEGIN_X || stack->card->frame->begin_x == MANEUVRE_2_BEGIN_X || diff --git a/lib/game.h b/lib/game.h index eed008f..a10e1b0 100644 --- a/lib/game.h +++ b/lib/game.h @@ -7,8 +7,6 @@ #define NUMBER_OF_CARDS 52 -#define MANEUVRE_STACKS_BEGIN_Y 7 - #define STOCK_BEGIN_X 1 #define STOCK_BEGIN_Y 1