summaryrefslogtreecommitdiff
path: root/src/emap/data/npcd.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-27 18:07:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-27 18:07:52 +0300
commit454c1448e30fe9d8cc2e6bc535921b2f7efd58e2 (patch)
treef3b7e3cf2da964ed5ffd3ebb093de5b7cc002077 /src/emap/data/npcd.c
parent828bececcd905903535b1e543a5b1dc1581c250d (diff)
downloadevol-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/npcd.c')
-rw-r--r--src/emap/data/npcd.c1
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;
}