simulated mouse again

Change u.{dx,dy,dz} from schar to int and get rid of unused u.di.

Remove just added getdir_ok2click; it was declared as int but being
assigned booleans.  Rename getloc_click to getdir_click and have
getdir() use it for both input and output.

A simulated mouse is becoming quite a nuisance for something which
will probably never be used by anyone in actual play.
This commit is contained in:
PatR
2022-07-10 11:14:10 -07:00
parent 6ac5525239
commit fed367ccbd
4 changed files with 23 additions and 19 deletions

View File

@@ -782,7 +782,6 @@ getpos(coord *ccp, boolean force, const char *goal)
}
if (c == cmd_from_func(do_run) || c == cmd_from_func(do_rush)) {
c = readchar_poskey(&tx, &ty, &sidx);
iflags.getloc_click = sidx; /* [is this useful?] */
rushrun = TRUE;
}
if (c == 0) {