- fixed "Schemen"
This commit is contained in:
Enno Rehling 2010-01-20 08:26:04 +00:00
parent 4babc4e4c9
commit 618094dacc
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ r_astral_to_standard(const region *r)
assert(is_astral(r)); assert(is_astral(r));
x = (r->x-TE_CENTER_X)*TP_DISTANCE; x = (r->x-TE_CENTER_X)*TP_DISTANCE;
y = (r->y-TE_CENTER_Y)*TP_DISTANCE; y = (r->y-TE_CENTER_Y)*TP_DISTANCE;
pnormalize(&x, &y, rplane(r)); pnormalize(&x, &y, get_normalplane());
r2 = findregion(x, y); r2 = findregion(x, y);
if (r2==NULL || rplane(r2)!=get_normalplane()) return NULL; if (r2==NULL || rplane(r2)!=get_normalplane()) return NULL;