diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-23 16:32:45 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-23 16:32:45 +0000 |
commit | 9e76b6474486bb97e4acf0dae0c1c8311d7544d5 (patch) | |
tree | c5449946aaa7cd4909781a507ced107f93009a55 /src/map/pc.c | |
parent | a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3 (diff) | |
download | hercules-9e76b6474486bb97e4acf0dae0c1c8311d7544d5.tar.gz hercules-9e76b6474486bb97e4acf0dae0c1c8311d7544d5.tar.bz2 hercules-9e76b6474486bb97e4acf0dae0c1c8311d7544d5.tar.xz hercules-9e76b6474486bb97e4acf0dae0c1c8311d7544d5.zip |
- Fixed horrible handling of skill_abra_db which leads to memory corruption (depending on the contents of yor abra_db.txt file)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11970 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 520f10f0d..1798c3692 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -244,7 +244,7 @@ void pc_addfame(struct map_session_data *sd,int count) nullpo_retv(sd); sd->status.fame += count; if(sd->status.fame > MAX_FAME) - sd->status.fame = MAX_FAME; + sd->status.fame = MAX_FAME; switch(sd->class_&MAPID_UPPERMASK){ case MAPID_BLACKSMITH: // Blacksmith clif_fame_blacksmith(sd,count); |