From f1a641e260f983fa0f5d0e1b4d8097f2c7fc5432 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 13 Mar 2006 18:50:35 +0000 Subject: - 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 --- src/map/chrif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/chrif.c') 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 { -- cgit v1.2.3-70-g09d2