diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-03 16:29:17 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-03 16:29:17 +0000 |
commit | 884ebdf25a8004abb6f5b001734d507c98b4a6b2 (patch) | |
tree | 890f052c5cd927d0c80f8333fe67ef4d7bf1c203 /src/map/status.c | |
parent | 8c01ccc448ce7ba067ece0e0dbc524671754494a (diff) | |
download | hercules-884ebdf25a8004abb6f5b001734d507c98b4a6b2.tar.gz hercules-884ebdf25a8004abb6f5b001734d507c98b4a6b2.tar.bz2 hercules-884ebdf25a8004abb6f5b001734d507c98b4a6b2.tar.xz hercules-884ebdf25a8004abb6f5b001734d507c98b4a6b2.zip |
- Warmth will dispel when warping now (or else the effect is left on the ground)
- Fixed reading of the refine_db not working right when MAX_REFINE is increased from 10.
- Some more cleaning to the implementation of Abracadabra
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7456 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index e39ff93f0..07e12d548 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6454,13 +6454,13 @@ int status_readdb(void) { } i=0; while(fgets(line, sizeof(line)-1, fp)){ - char *split[16]; + char *split[MAX_REFINE+4]; if(line[0]=='/' && line[1]=='/') continue; if(atoi(line)<=0) continue; memset(split,0,sizeof(split)); - for(j=0,p=line;j<16 && p;j++){ + for(j=0,p=line;j<MAX_REFINE+4 && p;j++){ split[j]=p; p=strchr(p,','); if(p) *p++=0; |