summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-19 06:04:34 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-19 06:04:34 +0000
commit8f4119ce9a0b70de6380c1d032a4cb6e5b51787d (patch)
treeb68f4fd457de57168ede9a1457853f7ad4e76f70 /src/map/map.h
parent72d890661194b248620c5c353777cb96be18c821 (diff)
downloadhercules-8f4119ce9a0b70de6380c1d032a4cb6e5b51787d.tar.gz
hercules-8f4119ce9a0b70de6380c1d032a4cb6e5b51787d.tar.bz2
hercules-8f4119ce9a0b70de6380c1d032a4cb6e5b51787d.tar.xz
hercules-8f4119ce9a0b70de6380c1d032a4cb6e5b51787d.zip
* Fixed a deallocation mistake and some buffer overflows in npc_chat.c after doing rtfm@pcre.txt (all caused by incorrect usage of pcre api)
* Removed underscores in npc_chat.c's variable names (easier to read) * Reindented the whole thing (used spaces half of the time ._.) * Moved npc pcre-data deallocation from npc_remove_map to npc_unload git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11036 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 01af03789..4ec216a3e 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -844,7 +844,7 @@ struct npc_data {
int eventtimer[MAX_EVENTTIMER];
short arenaflag;
- void *chatdb;
+ void* chatdb; // pointer to a npc_parse struct (see npc_chat.c)
struct npc_data *master_nd;
union {