summaryrefslogtreecommitdiff
path: root/src/map/homunculus.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-11 21:19:07 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-11 21:19:07 +0000
commit3ac466e7e094d378706fa2ec4ac42136796a65ec (patch)
tree447897993a6121dbdaec26cf9544abe650dd34b8 /src/map/homunculus.c
parenta8db0b293ae542c5ebccb062b3459c0f74e917a0 (diff)
downloadhercules-3ac466e7e094d378706fa2ec4ac42136796a65ec.tar.gz
hercules-3ac466e7e094d378706fa2ec4ac42136796a65ec.tar.bz2
hercules-3ac466e7e094d378706fa2ec4ac42136796a65ec.tar.xz
hercules-3ac466e7e094d378706fa2ec4ac42136796a65ec.zip
added remode-specific exp files processing as per kenpachi request, special thanks to brianl
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15424 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/homunculus.c')
-rw-r--r--src/map/homunculus.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c
index d46c55a52..31cb5b012 100644
--- a/src/map/homunculus.c
+++ b/src/map/homunculus.c
@@ -1072,7 +1072,13 @@ void read_homunculus_expdb(void)
FILE *fp;
char line[1024];
int i, j=0;
- char *filename[]={"exp_homun.txt","exp_homun2.txt"};
+ char *filename[]={
+#if REMODE
+ "re/exp_homun.txt",
+#else
+ "pre-re/exp_homun.txt",
+#endif
+ "exp_homun2.txt"};
memset(hexptbl,0,sizeof(hexptbl));
for(i=0; i<2; i++){