From 558c681aac46514ef406668f9d28dae34e778ec4 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Sat, 20 Nov 2010 01:09:31 +0000 Subject: * Fixed pc_marriage not checking spouse character job for baby class. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14471 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/pc.c b/src/map/pc.c index 433b67b46..e93ae8a93 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -7394,7 +7394,7 @@ int pc_marriage(struct map_session_data *sd,struct map_session_data *dstsd) { if(sd == NULL || dstsd == NULL || sd->status.partner_id > 0 || dstsd->status.partner_id > 0 || - sd->class_&JOBL_BABY) + (sd->class_&JOBL_BABY) || (dstsd->class_&JOBL_BABY)) return -1; sd->status.partner_id = dstsd->status.char_id; dstsd->status.partner_id = sd->status.char_id; -- cgit v1.2.3-60-g2f50