summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-30 03:25:39 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-30 03:25:39 +0000
commit6f24a7748e12e3dd2e24153bd0a5382d89273b98 (patch)
treee40dad1625fe06c20637cfaf213bf2fd6c01f86a /src/map/npc.c
parent5480b63665fd1151f447b0b6a233d7baa3787fbd (diff)
downloadhercules-6f24a7748e12e3dd2e24153bd0a5382d89273b98.tar.gz
hercules-6f24a7748e12e3dd2e24153bd0a5382d89273b98.tar.bz2
hercules-6f24a7748e12e3dd2e24153bd0a5382d89273b98.tar.xz
hercules-6f24a7748e12e3dd2e24153bd0a5382d89273b98.zip
Removed one grf function that DracoRPG missed
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9745 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index afdbb6b25..be3713b7b 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2873,34 +2873,6 @@ static void npc_read_event_script(void)
}
}
}
-static int npc_read_indoors (void)
-{
- char *buf, *p;
- int s, m;
-
- buf = (char *)grfio_reads("data\\indoorrswtable.txt",&s);
- if (buf == NULL)
- return -1;
- buf[s] = 0;
-
- for (p = buf; p - buf < s; ) {
- char map_name[64];
- if (sscanf(p, "%15[^#]#", map_name) == 1) {
- size_t pos = strlen(map_name) - 4; // replace '.xxx' extension
- memcpy(map_name+pos,".gat",4); // with '.gat'
- if ((m = map_mapname2mapid(map_name)) >= 0)
- map[m].flag.indoors = 1;
- }
-
- p = strchr(p, 10);
- if (!p) break;
- p++;
- }
- aFree(buf);
- ShowStatus("Done reading '"CL_WHITE"%s"CL_RESET"'.\n","data\\indoorrswtable.txt");
-
- return 0;
-}
/*==========================================
*