diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-17 06:01:15 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-17 06:01:15 +0000 |
commit | 8fd9120aab67440bc7148646ae064354c1067d35 (patch) | |
tree | b9ad8a03cd78a8d97d79846523f3026e70eb801d /src/map/npc.c | |
parent | 3089bee74700694461fdc50bf9e9aa01fe589730 (diff) | |
download | hercules-8fd9120aab67440bc7148646ae064354c1067d35.tar.gz hercules-8fd9120aab67440bc7148646ae064354c1067d35.tar.bz2 hercules-8fd9120aab67440bc7148646ae064354c1067d35.tar.xz hercules-8fd9120aab67440bc7148646ae064354c1067d35.zip |
Fixed bugreport:5757 Added missing Sorcerer Insignias, Credits to brAthena
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16115 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 79f338600..31bad9c6b 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2541,10 +2541,9 @@ const char* npc_parse_duplicate(char* w1, char* w2, char* w3, char* w4, const ch return end; } -int npc_duplicate4instance(struct npc_data *snd, int m) -{ +int npc_duplicate4instance(struct npc_data *snd, int m) { char newname[NAME_LENGTH]; - + if( map[m].instance_id == 0 ) return 1; |