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:
SHIRAKATA Kentaro
2025-01-12 14:37:13 +09:00
parent 59f49fda1b
commit 9b7bcf67ba
4 changed files with 5 additions and 4 deletions

View File

@@ -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;