diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-11-02 19:30:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-11-04 23:24:24 +0300 |
commit | ff898b1d949aac48c9017e89d5f7ba5e18d65870 (patch) | |
tree | 1dd52678af736ede65b36b165b2032bac10b2954 /src/map/npc.h | |
parent | 497a25b19d58ace8e450614f0b6cab433a040428 (diff) | |
download | hercules-ff898b1d949aac48c9017e89d5f7ba5e18d65870.tar.gz hercules-ff898b1d949aac48c9017e89d5f7ba5e18d65870.tar.bz2 hercules-ff898b1d949aac48c9017e89d5f7ba5e18d65870.tar.xz hercules-ff898b1d949aac48c9017e89d5f7ba5e18d65870.zip |
Refresh npc after changing fields in setunitdata.
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index 68ab18820..8bb38f252 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -309,6 +309,7 @@ struct npc_interface { void (*market_delfromsql) (struct npc_data *nd, unsigned short index); void (*market_delfromsql_sub) (const char *npcname, unsigned short index); bool (*db_checkid) (const int id); + void (*refresh) (struct npc_data* nd); /** * For the Secure NPC Timeout option (check config/Secure.h) [RR] **/ |