diff options
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index dd5b31770..3edc30c9c 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -4384,7 +4384,7 @@ int char_family(int pl1,int pl2,int pl3) { (pl3 == partnerid && pl2 == childid)
) {
mysql_free_result (sql_res);
- return 1;
+ return childid;
}
}
if(charid == pl2) {
@@ -4392,7 +4392,7 @@ int char_family(int pl1,int pl2,int pl3) { (pl3 == partnerid && pl1 == childid)
) {
mysql_free_result (sql_res);
- return 1;
+ return childid;
}
}
if(charid == pl3) {
@@ -4400,7 +4400,7 @@ int char_family(int pl1,int pl2,int pl3) { (pl2 == partnerid && pl1 == childid)
) {
mysql_free_result (sql_res);
- return 1;
+ return childid;
}
}
}
|