summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-13 22:44:01 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-13 22:44:01 +0000
commit4c5e3668433a0a6d63c0777f451f270f06e57fb7 (patch)
treeb0dd057ef28d2fc04bfe9700c613ef45dd38b4f5 /src/map/mercenary.c
parent938038f8e34ab93e1f38f1999534270238845194 (diff)
downloadhercules-4c5e3668433a0a6d63c0777f451f270f06e57fb7.tar.gz
hercules-4c5e3668433a0a6d63c0777f451f270f06e57fb7.tar.bz2
hercules-4c5e3668433a0a6d63c0777f451f270f06e57fb7.tar.xz
hercules-4c5e3668433a0a6d63c0777f451f270f06e57fb7.zip
* Merged changes up to eAthena 15033.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15098 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index f6fa6bdaa..6e4ff24a5 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -65,7 +65,7 @@ int merc_create(struct map_session_data *sd, int class_, unsigned int lifetime)
struct s_mercenary merc;
struct s_mercenary_db *db;
int i;
- nullpo_retr(1,sd);
+ nullpo_retr(0,sd);
if( (i = merc_search_index(class_)) < 0 )
return 0;