be more consistent with coordinates

This commit is contained in:
nhmall
2022-07-02 09:10:03 -04:00
parent 0bd5b3d39e
commit 3004cf2d34
74 changed files with 831 additions and 746 deletions

View File

@@ -42,7 +42,7 @@ static int throwspell(void);
static void cast_protection(void);
static void spell_backfire(int);
static const char *spelltypemnemonic(int);
static boolean spell_aim_step(genericptr_t, int, int);
static boolean spell_aim_step(genericptr_t, coordxy, coordxy);
/* The roles[] table lists the role-specific values for tuning
* percent_success().
@@ -1246,7 +1246,7 @@ spelleffects(int spell_otyp, boolean atme)
/*ARGSUSED*/
static boolean
spell_aim_step(genericptr_t arg UNUSED, int x, int y)
spell_aim_step(genericptr_t arg UNUSED, coordxy x, coordxy y)
{
if (!isok(x,y))
return FALSE;