Core/Misc: Fix crash when loading playerchoice_response
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf1c73dfc2c22a73e645ed41e2310b765caae80b)
This commit is contained in:
@@ -9280,7 +9280,7 @@ namespace Game
|
|||||||
// 0 1 2 3 4 5
|
// 0 1 2 3 4 5
|
||||||
SQLResult responses = DB.World.Query("SELECT ChoiceId, ResponseId, ResponseIdentifier, ChoiceArtFileId, Flags, WidgetSetID, " +
|
SQLResult responses = DB.World.Query("SELECT ChoiceId, ResponseId, ResponseIdentifier, ChoiceArtFileId, Flags, WidgetSetID, " +
|
||||||
//6 7 8 9 10 11 12 13 14 15 16
|
//6 7 8 9 10 11 12 13 14 15 16
|
||||||
"UiTextureAtlasElementID, SoundKitID, GroupID, UiTextureKitID, Answer, Header, SubHeader, ButtonTemplate, Description, Confirmation, RewardQuestID " +
|
"UiTextureAtlasElementID, SoundKitID, GroupID, UiTextureKitID, Answer, Header, SubHeader, ButtonTooltip, Description, Confirmation, RewardQuestID " +
|
||||||
"FROM playerchoice_response ORDER BY `Index` ASC");
|
"FROM playerchoice_response ORDER BY `Index` ASC");
|
||||||
if (!responses.IsEmpty())
|
if (!responses.IsEmpty())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user