summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-04-08 13:01:56 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-04-08 13:01:56 +0200
commitc4c55ca75a2f9f8390090e063f67b32c727416ed (patch)
tree8ab62c2b9e9fd9c473a2b5b22cb2e8f11dc54b6a /src/map/status.c
parent136e6806ee2edcad8b15a9fc3abb25ed45aef8f8 (diff)
downloadhercules-c4c55ca75a2f9f8390090e063f67b32c727416ed.tar.gz
hercules-c4c55ca75a2f9f8390090e063f67b32c727416ed.tar.bz2
hercules-c4c55ca75a2f9f8390090e063f67b32c727416ed.tar.xz
hercules-c4c55ca75a2f9f8390090e063f67b32c727416ed.zip
Prevent SC_AUTOTRADE from falsely being recognized as unknown status change
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index d07f3f705..d2d65ce37 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7809,6 +7809,7 @@ static int status_change_start_sub(struct block_list *src, struct block_list *bl
calc_flag = status->dbs->ChangeFlagTable[type];
if(!(flag&SCFLAG_LOADED)) { // Do not parse val settings when loading SCs
switch(type) {
+ case SC_AUTOTRADE:
case SC_KSPROTECTED:
break; // Prevent calling status_change_start_unknown_sc().
case SC_ADORAMUS: