* Updated buyingstorelist.txt, sync with last kRO update (2014-05-28)
* Fixed map-server crashed when read item_cash_db.txt (bugreport:9003) Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
This commit is contained in:
parent
794c1a8247
commit
e75a83dc99
File diff suppressed because it is too large
Load Diff
@ -103,7 +103,7 @@ static void cashshop_read_db_txt( void ){
|
||||
if( *p == '\0' )
|
||||
continue;
|
||||
|
||||
for( i = 0; i < 3; ++i ){
|
||||
for( i = 0; i < 2; ++i ){
|
||||
str[i] = p;
|
||||
p = strchr( p, ',' );
|
||||
|
||||
@ -186,7 +186,7 @@ static int cashshop_read_db_sql( void ){
|
||||
static void cashshop_read_db( void ){
|
||||
if( db_use_sqldbs ){
|
||||
cashshop_read_db_sql();
|
||||
}else{
|
||||
} else {
|
||||
cashshop_read_db_txt();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user