Mercurial > hg > batmud > maputils
changeset 1035:40e0cdfc7610
Maploc control menu coordinates were off by one, fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 26 Sep 2010 10:14:35 +0000 |
parents | 9b48e8093438 |
children | 321aff610652 |
files | mkloc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mkloc.c Wed Sep 22 06:02:19 2010 +0000 +++ b/mkloc.c Sun Sep 26 10:14:35 2010 +0000 @@ -1301,7 +1301,7 @@ marker_t *tmp = l->locations[i]; if ((tmp->flags & LOCF_INVIS) == 0) { - fprintf(outFile, "<option value=\"loc%d_%d\">", tmp->ox, tmp->oy); + fprintf(outFile, "<option value=\"loc%d_%d\">", tmp->ox + 1, tmp->oy + 1); printLocType(outFile, tmp, TRUE); fprinte(outFile, tmp->names[0].name); fprintf(outFile, "</option>\n");