summaryrefslogtreecommitdiff
path: root/src/char_sql/itemdb.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 15:50:41 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 15:50:41 +0000
commitb9804183841afd5381069796096a154edb5b9f53 (patch)
tree95e6f70d9ecd43e727d0defe1b02a818bc191169 /src/char_sql/itemdb.c
parent3bd682b3cb3507c8a57fa6930475808981fd0663 (diff)
downloadhercules-b9804183841afd5381069796096a154edb5b9f53.tar.gz
hercules-b9804183841afd5381069796096a154edb5b9f53.tar.bz2
hercules-b9804183841afd5381069796096a154edb5b9f53.tar.xz
hercules-b9804183841afd5381069796096a154edb5b9f53.zip
Reformatting @_@
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10581 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/itemdb.c')
-rw-r--r--src/char_sql/itemdb.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/char_sql/itemdb.c b/src/char_sql/itemdb.c
index 5feea2492..a5c2aa8f0 100644
--- a/src/char_sql/itemdb.c
+++ b/src/char_sql/itemdb.c
@@ -34,8 +34,7 @@ static void* create_item(DBKey key, va_list args) {
}
/*==========================================
* DBの検索
- *------------------------------------------
- */
+ *------------------------------------------*/
struct item_data* itemdb_search(int nameid)
{
return idb_ensure(item_db,nameid,create_item);
@@ -43,8 +42,7 @@ struct item_data* itemdb_search(int nameid)
/*==========================================
*
- *------------------------------------------
- */
+ *------------------------------------------*/
int itemdb_isequip(int nameid)
{
int type=itemdb_type(nameid);
@@ -54,8 +52,7 @@ int itemdb_isequip(int nameid)
}
/*==========================================
*
- *------------------------------------------
- */
+ *------------------------------------------*/
int itemdb_isequip2(struct item_data *data)
{
if(data) {
@@ -72,8 +69,7 @@ int itemdb_isequip2(struct item_data *data)
/*==========================================
* アイテムデータベースの読み込み
- *------------------------------------------
- */
+ *------------------------------------------*/
static int itemdb_readdb(void)
{
FILE *fp;
@@ -202,8 +198,7 @@ static int itemdb_read_sqldb(void) // sql item_db read, shortened version of map
/*==========================================
*
- *------------------------------------------
- */
+ *------------------------------------------*/
void do_final_itemdb(void)
{
if(item_db){