Skip to content

Commit 5a0a660

Browse files
DDuarteShauren
authored andcommitted
DB/Schema: Increase size of quest_template.RequiredRaces to mediumint
(cherry picked from commit 460f428)
1 parent 0011c11 commit 5a0a660

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `quest_template` CHANGE `AllowableRaces` `AllowableRaces` int unsigned NOT NULL DEFAULT '0';

src/server/game/Quests/QuestDef.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Quest::Quest(Field* questRecord)
3636
_type = questRecord[5].GetUInt16();
3737
_suggestedPlayers = questRecord[6].GetUInt8();
3838
_timeAllowed = questRecord[7].GetUInt32();
39-
_allowableRaces = questRecord[8].GetUInt16();
39+
_allowableRaces = questRecord[8].GetUInt32();
4040
_requiredFactionId1 = questRecord[9].GetUInt16();
4141
_requiredFactionId2 = questRecord[10].GetUInt16();
4242
_requiredFactionValue1 = questRecord[11].GetInt32();

0 commit comments

Comments
 (0)