Skip to content

Commit

Permalink
Core: Fix type-mismatch in GameEventMgr
Browse files Browse the repository at this point in the history
  • Loading branch information
click committed Mar 29, 2012
1 parent c65cabb commit 0ce62a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Events/GameEventMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ void GameEventMgr::LoadFromDB()
{
Field* fields = result->Fetch();

uint16 event_id = fields[0].GetUInt16();
uint16 event_id = fields[0].GetUInt8();
uint32 condition = fields[1].GetUInt32();

if (event_id >= mGameEvent.size())
Expand Down

0 comments on commit 0ce62a1

Please sign in to comment.