Follow up 7f4a7ba
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
This commit is contained in:
parent
7f4a7ba26f
commit
dc834fb39f
@ -88,7 +88,7 @@ static void cashshop_read_db_txt( void ){
|
||||
}
|
||||
|
||||
while( fgets( line, sizeof( line ), fp ) ){
|
||||
char *str[2], *p;
|
||||
char *str[3], *p;
|
||||
int i;
|
||||
lines++;
|
||||
|
||||
@ -103,7 +103,7 @@ static void cashshop_read_db_txt( void ){
|
||||
if( *p == '\0' )
|
||||
continue;
|
||||
|
||||
for( i = 0; i < 2; ++i ){
|
||||
for( i = 0; i < 3; ++i ){
|
||||
str[i] = p;
|
||||
p = strchr( p, ',' );
|
||||
|
||||
|
@ -17025,7 +17025,7 @@ void clif_ackworldinfo(struct map_session_data* sd) {
|
||||
WFIFOHEAD(fd,packet_len(0x979));
|
||||
WFIFOW(fd,0)=0x979;
|
||||
//AID -> world name ?
|
||||
safestrncpy((char*)WFIFOP(fd,2), '\0' /* World name */, 24);
|
||||
safestrncpy((char*)WFIFOP(fd,2), "" /* World name */, 24);
|
||||
safestrncpy((char*)WFIFOP(fd,26), sd->status.name, NAME_LENGTH);
|
||||
WFIFOSET(fd,packet_len(0x979));
|
||||
}
|
||||
|
@ -664,7 +664,8 @@ static void itemdb_read_itemgroup_sub(const char* filename, bool silent)
|
||||
int group_id = -1;
|
||||
unsigned int j, prob = 1;
|
||||
uint16 nameid, amt = 1, dur = 0;
|
||||
char *str[9], *p, rand_group = 1, announced = 0, named = 0, bound = 0;
|
||||
uint8 rand_group = 1;
|
||||
char *str[9], *p, announced = 0, named = 0, bound = 0;
|
||||
struct s_item_group_random *random = NULL;
|
||||
struct s_item_group_db *group = NULL;
|
||||
bool found = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user