Fixed hallucination ignoring reloadbattleconf

Fixed #1765
This commit is contained in:
Lemongrass3110 2016-12-07 22:27:47 +01:00
parent 05783ade33
commit 2bb92a114b
2 changed files with 3 additions and 3 deletions

View File

@ -5936,6 +5936,9 @@ void clif_status_change(struct block_list *bl, int type, int flag, int tick, int
if (type == SI_ACTIONDELAY && tick == 0)
return;
if (type == SI_HALLUCINATION && !battle_config.display_hallucination) // Disable Hallucination.
return;
nullpo_retv(bl);
sd = BL_CAST(BL_PC, bl);

View File

@ -1249,9 +1249,6 @@ void initChangeTables(void)
StatusChangeFlagTable[SC_EDP] |= SCB_WATK;
#endif
if( !battle_config.display_hallucination ) // Disable Hallucination.
StatusIconChangeTable[SC_HALLUCINATION] = SI_BLANK;
/* StatusDisplayType Table [Ind] */
StatusDisplayType[SC_ALL_RIDING] = true;
StatusDisplayType[SC_PUSH_CART] = true;