From 11f3b5d727bde8a3266b2cbc95d2e68890434d66 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 27 Jan 2010 04:43:28 +0000 Subject: [PATCH] Schemen im CR Issue: 1697 --- src/common/gamecode/creport.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index 5508be14e..4293139bb 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -1276,9 +1276,10 @@ cr_output_region(FILE * F, report_context * ctx, seen_region * sr) while(rl2) { region * r = rl2->data; int nx = r->x, ny = r->y; + plane * plx = rplane(r); - pnormalize(&nx, &ny, pl); - adjust_coordinates(f, &nx, &ny, pl, r); + pnormalize(&nx, &ny, plx); + adjust_coordinates(f, &nx, &ny, plx, r); fprintf(F, "SCHEMEN %d %d\n", nx, ny); fprintf(F, "\"%s\";Name\n", rname(r, f->locale)); rl2 = rl2->next;