follow-up: store square of dist in arwep table
Also includes some additional unrelated #undef's since one was being added.
This commit is contained in:
@@ -1210,7 +1210,7 @@ m_balks_at_approaching(int oldappr, struct monst *mtmp, int *pdistmin,
|
||||
if (pdistmin)
|
||||
*pdistmin = 2 * 2;
|
||||
if (pdistmax)
|
||||
*pdistmax = arw->range * arw->range;
|
||||
*pdistmax = arw->range;
|
||||
return -2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user