aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2018-08-24 00:13:10 +0200
committerShauren <shauren.trinity@gmail.com>2018-08-24 00:13:10 +0200
commit3cc42d76924221a70dab916a930cf30a90f1e365 (patch)
treeb9d647e0a7313c2599e9e2c0ba6d464269e7f541 /sql
parente512c22b42f34c4a6ef7442e2046098be34fd826 (diff)
Core/Conversations: Fixed CONVERSATION_DYNAMIC_FIELD_LINES structure and defined related opcode/flag
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2018_08_24_00_world.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/master/2018_08_24_00_world.sql b/sql/updates/world/master/2018_08_24_00_world.sql
new file mode 100644
index 00000000000..9805a86fa82
--- /dev/null
+++ b/sql/updates/world/master/2018_08_24_00_world.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `conversation_line_template` ADD `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `ActorIdx`;
+UPDATE `conversation_line_template` SET `Flags`=(`ActorIdx`>>8);
+UPDATE `conversation_line_template` SET `ActorIdx`=`ActorIdx`&0xFF;
+ALTER TABLE `conversation_line_template`
+ CHANGE `ActorIdx` `ActorIdx` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `UiCameraID`,
+ DROP `Unk`;