summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/db.c6
-rw-r--r--src/common/mmo.h14
2 files changed, 10 insertions, 10 deletions
diff --git a/src/common/db.c b/src/common/db.c
index a748cba5a..204c6d2ea 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -2743,7 +2743,7 @@ void* linkdb_search( struct linkdb_node** head, void *key)
while( node ) {
if( node->key == key ) {
if( node->prev && n > 5 ) {
- // 処理効率改善の為にheadに移動させる
+ //Moving the head in order to improve processing efficiency
if(node->prev) node->prev->next = node->next;
if(node->next) node->next->prev = node->prev;
node->next = *head;
@@ -2790,7 +2790,7 @@ void linkdb_replace( struct linkdb_node** head, void *key, void *data )
while( node ) {
if( node->key == key ) {
if( node->prev && n > 5 ) {
- // 処理効率改善の為にheadに移動させる
+ //Moving the head in order to improve processing efficiency
if(node->prev) node->prev->next = node->next;
if(node->next) node->next->prev = node->prev;
node->next = *head;
@@ -2804,7 +2804,7 @@ void linkdb_replace( struct linkdb_node** head, void *key, void *data )
node = node->next;
n++;
}
- // 見つからないので挿入
+ //Insert because it can not find
linkdb_insert( head, key, data );
}
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 944c94a72..8916cd9fb 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -536,15 +536,15 @@ struct fame_list {
char name[NAME_LENGTH];
};
-enum {
- GBI_EXP =1, // ギルドのEXP
- GBI_GUILDLV, // ギルドのLv
- GBI_SKILLPOINT, // ギルドのスキルポイント
- GBI_SKILLLV, // ギルドスキルLv
+enum { //Change Guild Infos
+ GBI_EXP =1, // Guild Experience (EXP)
+ GBI_GUILDLV, // Guild level
+ GBI_SKILLPOINT, // Guild skillpoints
+ GBI_SKILLLV, // Guild skilllv ?? seem unused
};
-enum {
- GMI_POSITION =0, // メンバーの役職変更
+enum { //Change Member Infos
+ GMI_POSITION =0,
GMI_EXP,
GMI_HAIR,
GMI_HAIR_COLOR,