change the type of xytod()'s return value to int
xytod()'s return value is an index, so its type should be int, not coordxy.
This commit is contained in:
@@ -6436,7 +6436,8 @@ conjoined_pits(
|
||||
struct trap *trap1,
|
||||
boolean u_entering_trap2)
|
||||
{
|
||||
coordxy dx, dy, diridx, adjidx;
|
||||
coordxy dx, dy;
|
||||
int diridx, adjidx;
|
||||
|
||||
if (!trap1 || !trap2)
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user