Fix a typo introduced in r5665
Patch by Buginator git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5672 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
2eba906351
commit
77b16be151
|
@ -541,8 +541,8 @@ static BOOL gridIntersect(const int x1, const int y1, const int x2, const int y2
|
||||||
{
|
{
|
||||||
int x1, y1,
|
int x1, y1,
|
||||||
x2, y2;
|
x2, y2;
|
||||||
} rect = { x1 - cy, y1 - cy,
|
} rect = { x1 - cx, y1 - cy,
|
||||||
x2 - cy, y2 - cy };
|
x2 - cx, y2 - cy };
|
||||||
|
|
||||||
const int Rad2 = Rad * Rad;
|
const int Rad2 = Rad * Rad;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue