SF patch 536615: travel cache

This is derived from the proposed patch and feedback to it.  This applies
the last-position cache behavior without an option, making the behavior
more like it is for interfaces with a mouse, where holding the mouse still
acts the same way as the travel cache.  The code is not #ifdef'd either.
This commit is contained in:
cohrs
2003-06-30 04:00:14 +00:00
parent cec8e1ee31
commit b633b91875
5 changed files with 14 additions and 5 deletions

View File

@@ -516,6 +516,7 @@ initoptions()
for (i = 0; i < WARNCOUNT; i++)
warnsyms[i] = def_warnsyms[i].sym;
iflags.bouldersym = 0;
iflags.travelcc.x = iflags.travelcc.y = -1;
flags.warnlevel = 1;
flags.warntype = 0L;