summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-07-08 03:39:36 +0200
committerHaruna <haru@dotalux.com>2015-07-08 03:39:36 +0200
commit041e0625b543215e8b319fc4ef32fa24cd199656 (patch)
tree4f36abbb84364ad48c53f1f8bc6db007b01a20f6 /src/plugins
parent5fd40de233d3a897284f771338cbf8e657182261 (diff)
parent856b6f1feb25ca74d716a4c22fff650e0ff065a0 (diff)
downloadhercules-041e0625b543215e8b319fc4ef32fa24cd199656.tar.gz
hercules-041e0625b543215e8b319fc4ef32fa24cd199656.tar.bz2
hercules-041e0625b543215e8b319fc4ef32fa24cd199656.tar.xz
hercules-041e0625b543215e8b319fc4ef32fa24cd199656.zip
Merge pull request #586 from hemagx/master
Update UID system to match official and Implement Merger
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/db2sql.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c
index 7cef173d2..2741ce468 100644
--- a/src/plugins/db2sql.c
+++ b/src/plugins/db2sql.c
@@ -139,7 +139,10 @@ int db2sql(config_setting_t *entry, int n, const char *source) {
// bindonequip
StrBuf->Printf(&buf, "'%u',", it->flag.bindonequip?1:0);
-
+
+ // forceserial
+ StrBuf->Printf(&buf, "'%u',", it->flag.force_serial?1:0);
+
// buyingstore
StrBuf->Printf(&buf, "'%u',", it->flag.buyingstore?1:0);
@@ -269,6 +272,7 @@ void totable(void) {
" `refineable` tinyint(1) UNSIGNED DEFAULT NULL,\n"
" `view` smallint(3) UNSIGNED DEFAULT NULL,\n"
" `bindonequip` tinyint(1) UNSIGNED DEFAULT NULL,\n"
+ " `forceserial` tinyint(1) UNSIGNED DEFAULT NULL,\n"
" `buyingstore` tinyint(1) UNSIGNED DEFAULT NULL,\n"
" `delay` mediumint(9) UNSIGNED DEFAULT NULL,\n"
" `trade_flag` smallint(4) UNSIGNED DEFAULT NULL,\n"