Changed the fix for AI target selection in commit f731de7

* NPCs will reload the weapon in the same turn (and attack if have
enough AP left) if weapon is empty while selecting targets.

Misc code edits.
This commit is contained in:
NovaRain
2020-04-27 14:25:40 +08:00
parent d6f4a23527
commit ece76ee726
11 changed files with 108 additions and 90 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ CorpseDeleteTime=6
;Set a number of milliseconds to idle each input loop
;Set to -1 to disable
;Set to 0 to idle only if other processes are waiting for processor time (WinXP/2000: if processes have equal priority)
;Set to 1 (or some higher number if needed, the maximum is 127) to prevent 100% CPU use
;Set to 1 (or some higher number if needed) to prevent 100% CPU use. The maximum is 127
ProcessorIdle=-1
;Set to 1 if using the hero appearance mod