diff options
author | flaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-09-08 19:47:26 +0000 |
---|---|---|
committer | flaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-09-08 19:47:26 +0000 |
commit | 6fc804e12ad7db569e82229cc11a361066cec682 (patch) | |
tree | ddfdf820c20e373e6666b6ae4428099702b47744 /src/map/npc.c | |
parent | 49a1de65bf592bbfe194a06b2b4c41f9865ea8b3 (diff) | |
download | hercules-6fc804e12ad7db569e82229cc11a361066cec682.tar.gz hercules-6fc804e12ad7db569e82229cc11a361066cec682.tar.bz2 hercules-6fc804e12ad7db569e82229cc11a361066cec682.tar.xz hercules-6fc804e12ad7db569e82229cc11a361066cec682.zip |
* Fix C++ compilation issues.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14955 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index dd3a671b0..ceb1f3f1d 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2340,7 +2340,7 @@ const char* npc_parse_duplicate(char* w1, char* w2, char* w3, char* w4, const ch nd->speed = 200; nd->src_id = src_id; nd->bl.type = BL_NPC; - nd->subtype = type; + nd->subtype = (enum npc_subtype)type; switch( type ) { case SCRIPT: |