From ff898b1d949aac48c9017e89d5f7ba5e18d65870 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Nov 2017 19:30:00 +0300 Subject: Refresh npc after changing fields in setunitdata. --- src/map/npc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/npc.h') 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] **/ -- cgit v1.2.3-60-g2f50