diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-27 18:07:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-27 18:07:52 +0300 |
commit | 454c1448e30fe9d8cc2e6bc535921b2f7efd58e2 (patch) | |
tree | f3b7e3cf2da964ed5ffd3ebb093de5b7cc002077 /src/emap/data | |
parent | 828bececcd905903535b1e543a5b1dc1581c250d (diff) | |
download | evol-hercules-454c1448e30fe9d8cc2e6bc535921b2f7efd58e2.tar.gz evol-hercules-454c1448e30fe9d8cc2e6bc535921b2f7efd58e2.tar.bz2 evol-hercules-454c1448e30fe9d8cc2e6bc535921b2f7efd58e2.tar.xz evol-hercules-454c1448e30fe9d8cc2e6bc535921b2f7efd58e2.zip |
Add .lang variable to npc for storing language.
Also add hooks to set/get vars.
Diffstat (limited to 'src/emap/data')
-rw-r--r-- | src/emap/data/npcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/data/npcd.c b/src/emap/data/npcd.c index 7da1690..6e00c98 100644 --- a/src/emap/data/npcd.c +++ b/src/emap/data/npcd.c @@ -36,5 +36,6 @@ struct NpcdExt *npcd_create(void) if (!data) return NULL; data->init = false; + data->language = 0; return data; } |