DB/Schema: Increase size of quest_template.RequiredRaces to mediumint

(cherry picked from commit 460f42849f)
This commit is contained in:
Nay
2012-08-20 14:57:59 +01:00
committed by Shauren
parent 0011c11347
commit 5a0a660647
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE `quest_template` CHANGE `AllowableRaces` `AllowableRaces` int unsigned NOT NULL DEFAULT '0';

View File

@@ -36,7 +36,7 @@ Quest::Quest(Field* questRecord)
_type = questRecord[5].GetUInt16();
_suggestedPlayers = questRecord[6].GetUInt8();
_timeAllowed = questRecord[7].GetUInt32();
_allowableRaces = questRecord[8].GetUInt16();
_allowableRaces = questRecord[8].GetUInt32();
_requiredFactionId1 = questRecord[9].GetUInt16();
_requiredFactionId2 = questRecord[10].GetUInt16();
_requiredFactionValue1 = questRecord[11].GetInt32();