summaryrefslogtreecommitdiff
path: root/src/map/npc.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/npc.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/npc.h')
-rw-r--r--src/map/npc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 74d49dd3c..2ce21d473 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -4,6 +4,8 @@
#ifndef _NPC_H_
#define _NPC_H_
+#include "map.h" // TBL_NPC
+
#define START_NPC_NUM 110000000
#define WARP_CLASS 45