From 0cde601cd72138b8729196c3298293a2c68c8cf0 Mon Sep 17 00:00:00 2001 From: stpohle Date: Mon, 2 Jun 2003 23:58:59 +0000 Subject: [PATCH] DIV by zero problem --- src/field.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/field.c b/src/field.c index f2ac71a..103b915 100644 --- a/src/field.c +++ b/src/field.c @@ -1,4 +1,4 @@ -/* $Id: field.c,v 1.27 2003/06/02 23:47:37 stpohle Exp $ */ +/* $Id: field.c,v 1.28 2003/06/02 23:58:59 stpohle Exp $ */ /* field.c - procedures which are needed to control the field */ #include @@ -33,8 +33,6 @@ draw_stone (int x, int y) srcbg.w = dest.w; srcbg.h = dest.h; - if (gfx.field[FT_nothing].frames == 0) - printf ("**************** WARNING *********** gfx.field[FT_nothing].frames == 0\n"); srcbg.x = (x % gfx.field[FT_nothing].frames) * gfx.block.x; srcbg.y = (y % gfx.field[FT_nothing].frames) * gfx.block.y;