diff options
author | Haruna <haru@dotalux.com> | 2014-05-16 19:26:58 +0200 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-05-16 19:26:58 +0200 |
commit | 296791de1028e60485784a81b1bd8ac493bd9d63 (patch) | |
tree | 76612807cd798428d6b199a5de02f42e518fdfab /src/char/char.c | |
parent | bc1d286cc71a7ae82d9639f4a832970a287c0d71 (diff) | |
parent | 5f5380e8d5fa2e6042813e35101cb33b656e3972 (diff) | |
download | hercules-296791de1028e60485784a81b1bd8ac493bd9d63.tar.gz hercules-296791de1028e60485784a81b1bd8ac493bd9d63.tar.bz2 hercules-296791de1028e60485784a81b1bd8ac493bd9d63.tar.xz hercules-296791de1028e60485784a81b1bd8ac493bd9d63.zip |
Merge pull request #284 from MrKeiKun/fix_pet_table
Renamed incuvate of Pet System
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index 289df62a4..57031e3ee 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1780,7 +1780,7 @@ int delete_char_sql(int char_id) /* delete char's pet */ //Delete the hatched pet if you have one... - if( SQL_ERROR == SQL->Query(sql_handle, "DELETE FROM `%s` WHERE `char_id`='%d' AND `incuvate` = '0'", pet_db, char_id) ) + if( SQL_ERROR == SQL->Query(sql_handle, "DELETE FROM `%s` WHERE `char_id`='%d' AND `incubate` = '0'", pet_db, char_id) ) Sql_ShowDebug(sql_handle); //Delete all pets that are stored in eggs (inventory + cart) |