Slight tweak (field name) to #983 "Override LEVEL and INT aggro blocking".

If you already ran the previous SQL, use this instead:
ALTER TABLE `npc_types` CHANGE `always_aggros_foes` `always_aggro` TINYINT(1) NOT NULL DEFAULT '0';
This commit is contained in:
JJ
2020-03-05 22:31:54 -05:00
parent 09e9c0b504
commit 4915e86aba
9 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ Mob::Mob(
uint8 in_legtexture,
uint8 in_feettexture,
uint16 in_usemodel,
bool in_always_aggros_foes
bool in_always_aggro
) :
attack_timer(2000),
attack_dw_timer(2000),
@@ -276,7 +276,7 @@ Mob::Mob(
qglobal = 0;
spawned = false;
rare_spawn = false;
always_aggros_foes = in_always_aggros_foes;
always_aggro = in_always_aggro;
InitializeBuffSlots();