summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-31 15:07:37 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-31 15:07:37 +0000
commit47981612dad9c7d94466e357de003f0ba597efcb (patch)
tree149cca1ddc2fe13a15999585cab3631588b93880 /src/map/pc.c
parent8f6123730efe4fb57d9895e032967fefb0a00d40 (diff)
downloadhercules-47981612dad9c7d94466e357de003f0ba597efcb.tar.gz
hercules-47981612dad9c7d94466e357de003f0ba597efcb.tar.bz2
hercules-47981612dad9c7d94466e357de003f0ba597efcb.tar.xz
hercules-47981612dad9c7d94466e357de003f0ba597efcb.zip
- Some cleaning of the fame-update code, fixing a logic bug which made the ranking list fail to display the correct ranker names.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6891 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 9049bc52b..fa11d56bd 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -226,7 +226,7 @@ int pc_delspiritball(struct map_session_data *sd,int count,int type) {
// Increases a player's fame points and displays a notice to him
void pc_addfame(struct map_session_data *sd,int count) {
- nullpo_retv(sd);
+ nullpo_retv(sd);
sd->status.fame += count;
if(sd->status.fame > MAX_FAME)
sd->status.fame = MAX_FAME;