author | Anselm R. Garbe <garbeam@gmail.com> |
Thu, 16 Aug 2007 08:05:30 +0200 | |
changeset 955 | b2518e01f7e3 |
parent 954 | 18381a2cda42 |
child 956 | 484245788760 |
--- a/tile.c Wed Aug 15 19:31:41 2007 +0200 +++ b/tile.c Thu Aug 16 08:05:30 2007 +0200 @@ -16,7 +16,9 @@ return; /* arg handling, manipulate mwfact */ - if(arg && (1 == sscanf(arg, "%lf", &delta))) { + if(arg == NULL) + mwfact = MWFACT; + else if(1 == sscanf(arg, "%lf", &delta)) { if(delta + mwfact > 0.1 && delta + mwfact < 0.9) mwfact += delta; }