forked from github/server
- fixed "Schemen"
This commit is contained in:
parent
4babc4e4c9
commit
618094dacc
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue