Command repeating by using cmd queues
This replaces the old pushq/saveq arrays (which were used to save the keys pressed by the user for repeating a previous command) with a new command queue. This means there's no hard-coded limit to the saved keys, and it can repeat extended commands which are not bound to any key.
This commit is contained in:
@@ -864,7 +864,7 @@ dokick(void)
|
||||
You("are too small to do any kicking.");
|
||||
no_kick = TRUE;
|
||||
} else if (u.usteed) {
|
||||
if (yn_function("Kick your steed?", ynchars, 'y') == 'y') {
|
||||
if (yn_function("Kick your steed?", ynchars, 'y', TRUE) == 'y') {
|
||||
You("kick %s.", mon_nam(u.usteed));
|
||||
kick_steed();
|
||||
return ECMD_TIME;
|
||||
|
||||
Reference in New Issue
Block a user