diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-03 19:46:43 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-03 19:46:43 +0000 |
commit | 60c165d6caa0ae9f93240f17db02580d30281caa (patch) | |
tree | dfb04f4cb47bd549f4276ee6ee776a3c45d4b142 /src/map/guild.c | |
parent | b6cb7738945e8655a4bd94b5f37615058d068638 (diff) | |
download | hercules-60c165d6caa0ae9f93240f17db02580d30281caa.tar.gz hercules-60c165d6caa0ae9f93240f17db02580d30281caa.tar.bz2 hercules-60c165d6caa0ae9f93240f17db02580d30281caa.tar.xz hercules-60c165d6caa0ae9f93240f17db02580d30281caa.zip |
- Removed sd->sex since it's redundant (we can always use sd->status.sex)
- If somehow a player logs out and it's saved with 0 hp, on login his state will be set to dead as well so he can respawn (otherwise that leads to a stuck char)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9398 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index 6e3f33646..459c2f42e 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -330,7 +330,7 @@ void guild_makemember(struct guild_member *m,struct map_session_data *sd) m->char_id =sd->status.char_id;
m->hair =sd->status.hair;
m->hair_color =sd->status.hair_color;
- m->gender =sd->sex;
+ m->gender =sd->status.sex;
m->class_ =sd->status.class_;
m->lv =sd->status.base_level;
// m->exp =0;
|