From 776577985a056407645a448f8332d6ce69d645a3 Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 7 Jul 2008 20:49:54 +0000 Subject: - opravy v kodu, ktory obsluhuje konfig - oprava v screen_setting - oprava v layer git-svn-id: http://opensvn.csie.org/tuxanci_ng@123 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/modules/modWall.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/modWall.c') diff --git a/src/modules/modWall.c b/src/modules/modWall.c index 7d36957..4544ea9 100755 --- a/src/modules/modWall.c +++ b/src/modules/modWall.c @@ -220,7 +220,7 @@ static void cmd_wall(char *line) rel = 0; - if( export_fce->fce_getValue(line, "rel", str_rel, STR_NUM_SIZE) != 0 ); + if( export_fce->fce_getValue(line, "rel", str_rel, STR_NUM_SIZE) != 0 )strcpy(str_rel, "0"); if( export_fce->fce_getValue(line, "x", str_x, STR_NUM_SIZE) != 0 )return; if( export_fce->fce_getValue(line, "y", str_y, STR_NUM_SIZE) != 0 )return; if( export_fce->fce_getValue(line, "w", str_w, STR_NUM_SIZE) != 0 )return; @@ -230,7 +230,6 @@ static void cmd_wall(char *line) if( export_fce->fce_getValue(line, "layer", str_layer, STR_NUM_SIZE) != 0 )return; if( export_fce->fce_getValue(line, "image", str_image, STR_SIZE) != 0 )return; - rel = atoi(str_rel); x = atoi(str_x); y = atoi(str_y); @@ -330,7 +329,7 @@ int isConflict(int x, int y, int w, int h) return isConflictWithObjectFromSpace(spaceWall, x, y, w, h); } -void cmd(char *line) +void cmdArena(char *line) { if( strncmp(line, "wall", 4) == 0 )cmd_wall(line); } -- cgit v1.2.3