summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-10 13:35:11 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-10 13:35:11 +0000
commit86354787809a85d57593dc6c1940262752d5b846 (patch)
tree313f47a603f277cfe1fa333a1d17d5765605c7fa /src/map/pc.c
parent2aa039840a624a43d9d0051479d520b78636f8ca (diff)
downloadhercules-86354787809a85d57593dc6c1940262752d5b846.tar.gz
hercules-86354787809a85d57593dc6c1940262752d5b846.tar.bz2
hercules-86354787809a85d57593dc6c1940262752d5b846.tar.xz
hercules-86354787809a85d57593dc6c1940262752d5b846.zip
- Fixed a memory overwrite crash on pc_readdb, thanks to foobar.
- Fixed only the first TK stance triggering when you have multiple of them active. - Default of skill_attack_enable changed to yes. - Fixed a compiler error in some ninja skill that only triggers on windows or c++ compilers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5557 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 753fa8455..af5e362e0 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -8026,7 +8026,7 @@ int pc_readdb(void)
int jobs[MAX_PC_CLASS], job_count, job;
int type;
unsigned int max;
- char *split[3];
+ char *split[4];
if(line[0]=='/' && line[1]=='/')
continue;
if (pc_split_str(line,split,4) < 4)