diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-28 19:39:24 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-28 19:39:24 +0000 |
commit | 437a47840140d324d8a1555144cd9628d897d70e (patch) | |
tree | 5c108204ee261be8d2484fdac7b71a5cc2399ebe /src/char_sql/char.h | |
parent | cb1131db4cde40c0352e6c75069defab06128c93 (diff) | |
download | hercules-437a47840140d324d8a1555144cd9628d897d70e.tar.gz hercules-437a47840140d324d8a1555144cd9628d897d70e.tar.bz2 hercules-437a47840140d324d8a1555144cd9628d897d70e.tar.xz hercules-437a47840140d324d8a1555144cd9628d897d70e.zip |
- Fixed an infinite char-server loop on the map connection
- Cleaned up the charserver a bit
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10641 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.h')
-rw-r--r-- | src/char_sql/char.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/char_sql/char.h b/src/char_sql/char.h index b77fb596c..54f0bbd9e 100644 --- a/src/char_sql/char.h +++ b/src/char_sql/char.h @@ -43,12 +43,9 @@ enum { TABLE_STORAGE, TABLE_GUILD_STORAGE, }; -struct itemtemp{ - struct itemtmp equip[MAX_GUILD_STORAGE],notequip[MAX_GUILD_STORAGE]; -}; + int memitemdata_to_sql(struct itemtmp mapitem[], int count, int char_id,int tableswitch); -//int memitemdataNEW_to_sql(struct itemtmp mapitem[], int count, int char_id,int tableswitch); int mapif_sendall(unsigned char *buf,unsigned int len); int mapif_sendallwos(int fd,unsigned char *buf,unsigned int len); int mapif_send(int fd,unsigned char *buf,unsigned int len); @@ -57,8 +54,6 @@ int char_married(int pl1,int pl2); int char_child(int parent_id, int child_id); int char_family(int pl1,int pl2,int pl3); -int char_loadName(int char_id, char* name); - int request_accreg2(int account_id, int char_id); int save_accreg2(unsigned char* buf, int len); |