Fixed a bug in NPC combat control that caused Gecko Skinning to appear in the perk selection window.

This commit is contained in:
NovaRain
2018-03-28 21:29:22 +08:00
parent 5141ca4ebb
commit 72093079c5
2 changed files with 1 additions and 0 deletions
Binary file not shown.
+1
View File
@@ -43,6 +43,7 @@ end
procedure start begin
if game_loaded and (sfall_ver_major >= 4) then begin
set_perk_ranks(PERK_gecko_skinning_perk, 1);
set_perk_level(PERK_gecko_skinning_perk, 999); // prevent it from appearing in the perk selection window
controlMode := GetConfig("CombatControl", "Mode", 0);
if (controlMode > 2) then controlMode := 0;
if (controlMode > 0) then begin