diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-01 07:05:16 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-01 07:05:16 +0000 |
commit | a50c6281bbad73cd4155cbf55af4c899c9e2d1ea (patch) | |
tree | 8161ab2ccedc1fcbdac2f719c3f530bf73b9ed1d /src/map/unit.c | |
parent | 21dbc498aa93746cc8aaf38b7362a58c71addb84 (diff) | |
download | hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.gz hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.bz2 hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.xz hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.zip |
Removed unused guardian hp columns from the guild castles table in main.sql (should have been done in r11915).
Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile.
Cleaned up some random minor source code glitches.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index e52d60782..521907c99 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1870,7 +1870,7 @@ int unit_free(struct block_list *bl, int clrtype) //Tell the script to end, not delete it, it will free itself when necessary [Kevin] if (sd->st) { sd->st->rid = 0; - sd->st->state = 2; + sd->st->state = END; } } else if( bl->type == BL_PET ) { struct pet_data *pd = (struct pet_data*)bl; |