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

@@ -414,7 +414,7 @@ extern int enter_explore_mode(void);
extern boolean bind_mousebtn(int, const char *);
extern boolean bind_key(uchar, const char *);
extern void dokeylist(void);
extern coordxy xytod(coordxy, coordxy);
extern int xytod(coordxy, coordxy);
extern void dtoxy(coord *, int);
extern int movecmd(char, int);
extern int dxdy_moveok(void);