X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=5513a17f436ef330c70aa8527f788dfb4061e045;hb=a59bf77ffaf07516895cb04b5a659544eeb8d9f2;hp=b4a603787c290b06afc0d2f28cef796741893774;hpb=55db5f2faedebfbcd21d6c9516af42ecb7d8d805;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index b4a60378..5513a17f 100644 --- a/src/tools.c +++ b/src/tools.c @@ -196,7 +196,6 @@ static char *print_if_not_empty(int element) int correctLevelPosX_EM(int lx) { lx -= 1; - lx -= (BorderElement != EL_EMPTY ? 1 : 0); return lx; } @@ -204,7 +203,6 @@ int correctLevelPosX_EM(int lx) int correctLevelPosY_EM(int ly) { ly -= 1; - ly -= (BorderElement != EL_EMPTY ? 1 : 0); return ly; }