diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-13 18:50:35 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-13 18:50:35 +0000 |
commit | f1a641e260f983fa0f5d0e1b4d8097f2c7fc5432 (patch) | |
tree | 04ef48d46927e6a1cf6edbc91dd368653210b590 /src/map/chrif.c | |
parent | e99a963da3b832e442003ef53ef94375d34a8417 (diff) | |
download | hercules-f1a641e260f983fa0f5d0e1b4d8097f2c7fc5432.tar.gz hercules-f1a641e260f983fa0f5d0e1b4d8097f2c7fc5432.tar.bz2 hercules-f1a641e260f983fa0f5d0e1b4d8097f2c7fc5432.tar.xz hercules-f1a641e260f983fa0f5d0e1b4d8097f2c7fc5432.zip |
- Shield Reflect is now passed through Devotion as well.
- Devotion won't work on guildmates now (only party-members)
- Devoted to characters lose the devotion effect when the Crusader is at less than 25% Hp.
- Changed Gravity Field's element to earth so that it may hit hidden chars.
- chrif_scdata_save will not send a save scdata request when the char has been already tagged as in the final save.
- Cleaned up status_change_start a bit to make status_change_end calls on a separate switch, before it is cancelled by the switch about "sc already active". If it fails because the sc is already active, now it returns 1.
- Cleaned SC_SUITON a bit to get rid of that compile warning.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5589 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 2ba1ede84..4a37e1f1a 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1155,6 +1155,8 @@ int chrif_save_scdata(struct map_session_data *sd) struct status_change_data data;
struct TimerData *timer;
+ if (sd->state.finalsave) //Character was already saved?
+ return -1;
#ifndef TXT_ONLY
if(charsave_method) //New 'Local' save
{
|