summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-11-13 16:38:13 +0100
committerHaru <haru@dotalux.com>2018-11-13 16:38:25 +0100
commitd2e2173c6fb4804a90aeacf43560571d8f7ec645 (patch)
tree91dd17278d46bec7f862fa45e7797797f9449e5e /sql-files
parent37340a9e36de30387c8e2b347fd4446cf786612e (diff)
downloadhercules-d2e2173c6fb4804a90aeacf43560571d8f7ec645.tar.gz
hercules-d2e2173c6fb4804a90aeacf43560571d8f7ec645.tar.bz2
hercules-d2e2173c6fb4804a90aeacf43560571d8f7ec645.tar.xz
hercules-d2e2173c6fb4804a90aeacf43560571d8f7ec645.zip
Add the available information to the charlog when renaming a character
All the necessary information was already available (charlog fields are part of the shortdata, which is already loaded by `char_rename_char_sql()`), but it wasn't used by the charlog insert query. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index d918d4a35..37bfaf0ec 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -293,7 +293,7 @@ CREATE TABLE IF NOT EXISTS `charlog` (
`str` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`agi` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`vit` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `INT` INT(11) UNSIGNED NOT NULL DEFAULT '0',
+ `int` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`dex` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`luk` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`hair` TINYINT(4) NOT NULL DEFAULT '0',