summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-20 21:21:54 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-20 21:21:54 +0000
commit75b20cb6be459e24ba77786ff3d6d0d0d4a1a224 (patch)
tree439bcff65e92a868492a8b4050cf336157d35dc7 /src/common
parent1a9e8d5552c9bf30a190e64795a42f2eba553119 (diff)
downloadhercules-75b20cb6be459e24ba77786ff3d6d0d0d4a1a224.tar.gz
hercules-75b20cb6be459e24ba77786ff3d6d0d0d4a1a224.tar.bz2
hercules-75b20cb6be459e24ba77786ff3d6d0d0d4a1a224.tar.xz
hercules-75b20cb6be459e24ba77786ff3d6d0d0d4a1a224.zip
Fixed a nasty bug from r11410 which let people create chars with already taken char names, and (in TXT's case) even cause a crash.
Closes bugreport:234. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11530 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index ff74b1272..abbce9d52 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -221,7 +221,7 @@ struct mmo_charstatus {
char name[NAME_LENGTH];
unsigned int base_level,job_level;
short str,agi,vit,int_,dex,luk;
- unsigned char char_num,sex;
+ unsigned char slot,sex;
uint32 mapip;
uint16 mapport;