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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user