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

@@ -3604,7 +3604,7 @@ rhack(int key)
}
/* convert an x,y pair into a direction code */
coordxy
int
xytod(coordxy x, coordxy y)
{
int dd;