From 2462d4ff90d5444883f4981f0229e223fbf80057 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 6 Mar 2008 19:43:37 +0000 Subject: - Corrected pc_checkitem not behaving correctly when you had more than one equip with a restricted card. - Fixed non-chatroom owners being able to kick others from the chatroom. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12310 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/int_homun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/char_sql') diff --git a/src/char_sql/int_homun.c b/src/char_sql/int_homun.c index df08484ab..4e596ef28 100644 --- a/src/char_sql/int_homun.c +++ b/src/char_sql/int_homun.c @@ -42,7 +42,7 @@ int mapif_info_homunculus(int fd, int account_id, struct s_homunculus *hd) WFIFOW(fd,0) = 0x3891; WFIFOW(fd,2) = sizeof(struct s_homunculus)+9; WFIFOL(fd,4) = account_id; - WFIFOB(fd,8) = 1; // account loaded with success + WFIFOB(fd,8) = 1; // success memcpy(WFIFOP(fd,9), hd, sizeof(struct s_homunculus)); WFIFOSET(fd, sizeof(struct s_homunculus)+9); @@ -219,7 +219,7 @@ int mapif_load_homunculus(int fd) Sql_GetData(sql_handle, 0, &data, NULL); i = atoi(data); if( i < HM_SKILLBASE || i >= HM_SKILLBASE + MAX_HOMUNSKILL ) - continue;// invalid guild skill + continue;// invalid skill id i = i - HM_SKILLBASE; homun_pt->hskill[i].id = (unsigned short)atoi(data); // lv -- cgit v1.2.3-70-g09d2