From 34f0540da418b01dd4d49f6ecf72569d3cfecfdf Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 25 Jan 2014 09:43:09 -0800 Subject: Implement unified config parsing (mostly) --- src/char/int_storage.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/char/int_storage.cpp') diff --git a/src/char/int_storage.cpp b/src/char/int_storage.cpp index 4e52215..323a451 100644 --- a/src/char/int_storage.cpp +++ b/src/char/int_storage.cpp @@ -100,7 +100,7 @@ struct storage *account2storage(int account_id) //--------------------------------------------------------- // 倉庫データを読み込む -int inter_storage_init(void) +void inter_storage_init(void) { int c = 0; @@ -108,7 +108,7 @@ int inter_storage_init(void) if (!in.is_open()) { PRINTF("cant't read : %s\n", storage_txt); - return 1; + return; } FString line; @@ -126,8 +126,6 @@ int inter_storage_init(void) } c++; } - - return 0; } static -- cgit v1.2.3-60-g2f50