summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-15 16:19:07 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-15 16:19:07 +0000
commit4e003aea5ffaa764bf0e40a63ea314c56903fda0 (patch)
tree7fe77da393c7b3d1884ab6e127fa0a0eea0138e7 /src/map/map.c
parentb82433d5426042687173da4339f83379fb9f7106 (diff)
downloadhercules-4e003aea5ffaa764bf0e40a63ea314c56903fda0.tar.gz
hercules-4e003aea5ffaa764bf0e40a63ea314c56903fda0.tar.bz2
hercules-4e003aea5ffaa764bf0e40a63ea314c56903fda0.tar.xz
hercules-4e003aea5ffaa764bf0e40a63ea314c56903fda0.zip
More compile cleanups
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@574 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 83c99ed5c..9e50b2f01 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1655,7 +1655,6 @@ static int map_readmap(int m,char *fn, char *alias) {
*------------------------------------------
*/
int map_readallmap(void) {
- ShowStatus("Loading Maps...\n");
int i,maps_removed=0;
char fn[256];
char c = '-';
@@ -1665,6 +1664,8 @@ int map_readallmap(void) {
FILE *afm_file;
#endif
+ ShowStatus("Loading Maps...\n");
+
// 先に全部のャbプの存在を確認
for(i=0;i<map_num;i++){
#ifdef USE_AFM
@@ -2287,7 +2288,6 @@ void map_versionscreen(int flag) {
*------------------------------------------------------
*/
int do_init(int argc, char *argv[]) {
- chrif_connected = 0;
int i;
FILE *data_conf;
char line[1024], w1[1024], w2[1024];
@@ -2303,6 +2303,9 @@ int do_init(int argc, char *argv[]) {
unsigned char *SCRIPT_CONF_NAME = "conf/script_athena.conf";
unsigned char *MSG_CONF_NAME = "conf/msg_athena.conf";
unsigned char *GRF_PATH_FILENAME = "conf/grf-files.txt";
+
+ chrif_connected = 0;
+
srand(gettick());
for (i = 1; i < argc ; i++) {