diff options
author | Haru <haru@dotalux.com> | 2019-06-01 14:22:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-01 14:22:19 +0200 |
commit | c8202e1cd9eb64d07fa921d117a13eef3938a4db (patch) | |
tree | e57701639ffb1e518431dc0e0a10860aa7c642d6 /src/map/npc.h | |
parent | d7042459c9f9797a80dadce57297b5d16e8931c4 (diff) | |
parent | a321a26f2f9867c8c0e4b5503e4ad2275801122e (diff) | |
download | hercules-c8202e1cd9eb64d07fa921d117a13eef3938a4db.tar.gz hercules-c8202e1cd9eb64d07fa921d117a13eef3938a4db.tar.bz2 hercules-c8202e1cd9eb64d07fa921d117a13eef3938a4db.tar.xz hercules-c8202e1cd9eb64d07fa921d117a13eef3938a4db.zip |
Merge pull request #2433 from Asheraf/questinfomemfix
Move questinfo data from map to npc_data
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index 0eb8befd1..2819cbd87 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -129,6 +129,7 @@ struct npc_data { int spawn_timer; } tomb; } u; + VECTOR_DECL(struct questinfo) qi_data; struct hplugin_data_store *hdata; ///< HPM Plugin Data Store }; @@ -322,6 +323,7 @@ struct npc_interface { void (*barter_delfromsql_sub) (const char *npcname, int itemId, int itemId2, int amount2); bool (*db_checkid) (const int id); void (*refresh) (struct npc_data* nd); + void (*questinfo_clear) (struct npc_data *nd); /** * For the Secure NPC Timeout option (check config/Secure.h) [RR] **/ |