Add assistance to fire-command
Allows the fire-command to autowield a launcher; it will now do either swapweapon or wield an appropriate launcher, if you have ammo quivered. This assistance can be turned off with the fireassist boolean option. Adds a rudimentary command queue, which allows the code to add keys or extended commands into the queue, and they're executed as if the user did them. Time passes normally when doing the queue, and the queue will get cleared if hero is interrupted.
This commit is contained in:
@@ -207,6 +207,9 @@ const struct Race urace_init_data = {
|
||||
};
|
||||
|
||||
const struct instance_globals g_init = {
|
||||
|
||||
NULL, /* command_queue */
|
||||
|
||||
/* apply.c */
|
||||
0, /* jumping_is_magic */
|
||||
-1, /* polearm_range_min */
|
||||
|
||||
Reference in New Issue
Block a user