diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 1 | ||||
-rw-r--r-- | include/pttstruct.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h index ebab4084..705992cd 100644 --- a/include/proto.h +++ b/include/proto.h @@ -214,6 +214,7 @@ int reload_chicken(void); void chicken_query(const char *userid); void ch_buyitem(int money, const char *picture, int *item, int haveticket); void show_chicken_data(chicken_t *thechicken, chicken_t *pkchicken); +int load_chicken(const char *uid, chicken_t *mychicken); /* dark */ int main_dark(int fd,userinfo_t *uin); diff --git a/include/pttstruct.h b/include/pttstruct.h index 056a837e..2dac5e79 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -85,7 +85,7 @@ typedef struct userec_t { unsigned char invisible; /* 隱形狀態 */ char padxx[2]; unsigned int exmailbox; /* 購買信箱數 TODO short 就夠了 */ - chicken_t mychicken; /* 寵物 */ + chicken_t old_chicken; // mychicken; /* 寵物, r3968 後移出。 使用前請記得先 memset 此欄位。 */ time4_t lastsong; /* 上次點歌時間 */ unsigned int loginview; /* 進站畫面 */ unsigned char channel; /* TODO unused */ |