diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-07 20:49:54 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-07 20:49:54 +0000 |
| commit | 776577985a056407645a448f8332d6ce69d645a3 (patch) | |
| tree | 7f279fdce8100ce64409c2117c53b03443e5e5e1 /src/modules/modWall.c | |
| parent | 6ca82a3f9841941caef20380fe014a8d4ac5349b (diff) | |
- 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
Diffstat (limited to 'src/modules/modWall.c')
| -rwxr-xr-x | src/modules/modWall.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |