diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-06 19:43:37 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-06 19:43:37 +0000 |
commit | 2462d4ff90d5444883f4981f0229e223fbf80057 (patch) | |
tree | ed33cf22bd40e772038570e7a27a709cafa0906d /src/char_sql | |
parent | 98e5e5302359c893d4889788c612116bda3efc0f (diff) | |
download | hercules-2462d4ff90d5444883f4981f0229e223fbf80057.tar.gz hercules-2462d4ff90d5444883f4981f0229e223fbf80057.tar.bz2 hercules-2462d4ff90d5444883f4981f0229e223fbf80057.tar.xz hercules-2462d4ff90d5444883f4981f0229e223fbf80057.zip |
- 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
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/int_homun.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |